Class TextAlignment
Inheritance
System.Object
TextAlignment
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
Justified
Declaration
public const TextAlignment Justified
Field Value
Left
Declaration
public const TextAlignment Left
Field Value
Right
Declaration
public const TextAlignment Right
Field Value
value__
Declaration
Field Value
| Type |
Description |
| System.Int32 |
|