Search Results for

    Show / Hide Table of Contents

    Class ThemeColorValues

    Inheritance
    System.Object
    ThemeColorValues
    Namespace: IronPPT.Enums
    Assembly: IronPPT.dll
    Syntax
    public sealed class ThemeColorValues : Enum

    Tie a slide color to a slot in the presentation theme with ThemeColorValues in IronPPT, so the element recolors automatically when the theme changes. The core slots are Text1 and Text2 for body text, Background1 and Background2 for surfaces, and Accent1 through Accent6 for the theme's highlight palette, with Hyperlink and FollowedHyperlink covering links. Pick the slot that matches the element's role rather than a fixed RGB value.

    var themeColor = ThemeColorValues.Accent1;

    Fields

    Accent1

    Declaration
    public const ThemeColorValues Accent1
    Field Value
    Type Description
    ThemeColorValues

    Accent2

    Declaration
    public const ThemeColorValues Accent2
    Field Value
    Type Description
    ThemeColorValues

    Accent3

    Declaration
    public const ThemeColorValues Accent3
    Field Value
    Type Description
    ThemeColorValues

    Accent4

    Declaration
    public const ThemeColorValues Accent4
    Field Value
    Type Description
    ThemeColorValues

    Accent5

    Declaration
    public const ThemeColorValues Accent5
    Field Value
    Type Description
    ThemeColorValues

    Accent6

    Declaration
    public const ThemeColorValues Accent6
    Field Value
    Type Description
    ThemeColorValues

    Automatic

    Declaration
    [HexValue("0x100")]
    public const ThemeColorValues Automatic
    Field Value
    Type Description
    ThemeColorValues

    Background1

    Declaration
    public const ThemeColorValues Background1
    Field Value
    Type Description
    ThemeColorValues

    Background2

    Declaration
    public const ThemeColorValues Background2
    Field Value
    Type Description
    ThemeColorValues

    Dark1

    Declaration
    public const ThemeColorValues Dark1
    Field Value
    Type Description
    ThemeColorValues

    Dark2

    Declaration
    public const ThemeColorValues Dark2
    Field Value
    Type Description
    ThemeColorValues

    FollowedHyperlink

    Declaration
    public const ThemeColorValues FollowedHyperlink
    Field Value
    Type Description
    ThemeColorValues

    Hyperlink

    Declaration
    public const ThemeColorValues Hyperlink
    Field Value
    Type Description
    ThemeColorValues

    Light1

    Declaration
    public const ThemeColorValues Light1
    Field Value
    Type Description
    ThemeColorValues

    Light2

    Declaration
    public const ThemeColorValues Light2
    Field Value
    Type Description
    ThemeColorValues

    None

    Declaration
    public const ThemeColorValues None
    Field Value
    Type Description
    ThemeColorValues

    Text1

    Declaration
    public const ThemeColorValues Text1
    Field Value
    Type Description
    ThemeColorValues

    Text2

    Declaration
    public const ThemeColorValues Text2
    Field Value
    Type Description
    ThemeColorValues

    value__

    Declaration
    public int value__
    Field Value
    Type Description
    System.Int32
    ☀
    ☾
    Downloads
    • Download with NuGet
    • Start for Free
    In This Article
    Back to top
    Install with NuGet