StringFormat Class
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.
Inheritance Hierarchy

Namespace: Aspose.PSD
Assembly: Aspose.PSD (in Aspose.PSD.dll) Version: 21.2
public sealed class StringFormat : DisposableObject

The StringFormat type exposes the following members.

Public methodStringFormat
Initializes a new StringFormat object.
Public methodStringFormat(StringFormat)
Initializes a new StringFormat object from the specified existing StringFormat object.
Public methodStringFormat(StringFormatFlags)
Initializes a new StringFormat object with the specified StringFormatFlags enumeration and language.
Public propertyAlignment
Gets or sets text alignment information on the vertical plane.
Public propertyDigitSubstitutionLanguage
Gets or sets the language that is used when local digits are substituted for western digits.
Public propertyDigitSubstitutionMethod
Gets or sets the method to be used for digit substitution.
Public propertyDisposed
Gets a value indicating whether this instance is disposed.
(Inherited from DisposableObject.)
Public propertyFirstTabOffset
Gets the number of spaces between the beginning of a line of text and the first tab stop.
Public propertyFormatFlags
Gets or sets a StringFormatFlags enumeration that contains formatting information.
Public propertyStatic memberGenericDefault
Gets a generic default StringFormat object.
Public propertyStatic memberGenericTypographic
Gets a generic typographic StringFormat object.
Public propertyHotkeyPrefix
Gets or sets the HotkeyPrefix object for this StringFormat object.
Public propertyLineAlignment
Gets or sets the line alignment on the horizontal plane.
Public propertyTabStops
Gets an array of distances between tab stops in the units specified by the PageUnit property.
Public propertyTrimming
Gets or sets the StringTrimming enumeration for this StringFormat object.
Public methodDeepClone
Creates a deep clone of this StringFormat object.
Public methodDispose
Disposes the current instance.
(Inherited from DisposableObject.)
Public methodEquals (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodSetTabStops
Sets tab stops for this StringFormat object.
Public methodToString
Converts this StringFormat object to a human-readable string.
(Overrides ObjectToString.)
See Also