BrickStringFormat Methods

Encapsulates text layout information (such as alignment, orientation and tab stops) and display manipulations (such as ellipsis insertion and national digit substitution).
Name Description
ChangeAlignment(HorzAlignment, VertAlignment)
ChangeAlignment(TextAlignment)
ChangeAlignment(StringAlignment) Returns a BrickStringFormat object cloned from the current BrickStringFormat object, with the new string alignment applied.
ChangeAlignment(StringAlignment, StringAlignment) Returns a BrickStringFormat object cloned from the current BrickStringFormat object, with the new string and line alignment applied.
ChangeFormatFlags(StringFormatFlags) Returns a BrickStringFormat object cloned from the current BrickStringFormat object.
ChangeLineAlignment(StringAlignment) Returns a BrickStringFormat object cloned from the current BrickStringFormat object.
Clone() Creates an exact copy of the BrickStringFormat object.
Create(TextAlignment, Boolean) static Creates a new instance of the BrickStringFormat class with the specified settings.
Create(TextAlignment, Boolean, StringTrimming) static Creates a new instance of the BrickStringFormat class with the specified settings.
Create(TextAlignment, Boolean, StringTrimming, Boolean) static Creates a BrickStringFormat instance with the specified settings.
Create(TextAlignment, StringFormatFlags, StringTrimming) static Creates a new instance of the BrickStringFormat class with the specified settings.
Dispose() Disposes of the BrickStringFormat object.
Equals(Object) Determines whether or not the specified object is equal to the current BrickStringFormat instance.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
GetHashCode() Serves as the default hash function.
GetType() Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
ToString() Returns a string that represents the current object. Inherited from Object.
See Also