StringFormat
Encapsulates text layout information (such as alignment, orientation and tab stops) display manipulations (such as ellipsis insertion and national digit substitution) and OpenType features. This class cannot be inherited.
Gets a generic default StringFormat object.
Gets a generic typographic StringFormat object.
Gets or sets horizontal alignment of the string.
Gets the language that is used when local digits are substituted for western digits.
Gets the method to be used for digit substitution.
Gets or sets a StringFormatFlags enumeration that contains formatting information.
Gets or sets the HotkeyPrefix object for this StringFormat object.
Gets or sets the vertical alignment of the string.
Gets or sets the StringTrimming enumeration for this StringFormat object.
public StringFormat()
Initializes a new StringFormat object.
Initializes a new StringFormat object from the specified existing StringFormat object.
Initializes a new StringFormat object with the specified StringFormatFlags enumeration.
Initializes a new StringFormat object with the specified StringFormatFlags enumeration and language.
Creates an exact copy of this StringFormat object.
Releases all resources used by this StringFormat object.
Gets the tab stops for this StringFormat object.
Specifies the language and method to be used when local digits are substituted for western digits.
Specifies an array of CharacterRange structures that represent the ranges of characters measured by a call to the MeasureCharacterRanges method.
Sets tab stops for this StringFormat object.