Search Results for

    Show / Hide Table of Contents

    Class TextAlignment

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

    Setting how text sits within its container runs through TextAlignment in IronPPT. In reading order, Left aligns text to the left edge and is the usual starting point, Center balances it around the middle, Right aligns to the right edge, and Justified stretches lines flush to both edges. Assign the value that fits the slide's layout when you add or style text. The add text how-to shows the alignment in a worked example.

    var alignment = TextAlignment.Center;

    Fields

    Center

    Declaration
    public const TextAlignment Center
    Field Value
    Type Description
    TextAlignment

    Justified

    Declaration
    public const TextAlignment Justified
    Field Value
    Type Description
    TextAlignment

    Left

    Declaration
    public const TextAlignment Left
    Field Value
    Type Description
    TextAlignment

    Right

    Declaration
    public const TextAlignment Right
    Field Value
    Type Description
    TextAlignment

    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