[]
Encapsulates text layout information.
public class StringFormat
Name | Description |
---|---|
StringFormat() | Initializes a new instance of a StringFormat. |
StringFormat(TextBlock) | Initializes a new instance of a StringFormat. |
Name | Description |
---|---|
Alignment | Gets or sets the horizontal alignment of text. |
Angle | Gets or sets the angle in degrees used to render the text. |
FormatFlags | Gets or sets a StringFormatFlags that contains formatting options. |
GenericDefault | Gets a reference to the default StringFormat object. |
LineAlignment | Gets or sets the vertical alignment of text. |
LineSpacing | Gets or sets the line spacing. |