[]
Encapsulates text layout information.
public class StringFormat
Name | Description |
---|---|
StringFormat() | 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. |
Trimming | Gets or sets the System.Drawing.StringTrimming enumeration for this System.Drawing.StringFormat object. |
Name | Description |
---|---|
Clone() | Creates an instance of the StringFormat class that is identical to the current. |
GetAngle() | Gets calculated angle value. |
GetLineSpacing(double) | Gets line spacing using height value. |