TextOptions Methods
Contains options that specify how text is rendered.| Name | Description |
|---|---|
| Assign(TextOptions) | Copies settings from the specified object to the current TextOptions object. |
| BeginUpdate() | Prevents a text’s visual updates when TextOptions are modified, until the EndUpdate() or CancelUpdate() method is called. |
| CancelUpdate() | Enables a text’s visual updates if the text was previously locked by the BeginUpdate() method. Does not cause the text’s immediate visual update. |
| EndUpdate() | Enables a text’s visual updates if the text was previously locked by the BeginUpdate() method. Causes the text’s immediate visual update. |
| Equals(Object, Object) static | Determines whether the specified object instances are considered equal. Inherited from Object. |
| Equals(Object) | Determines whether the specified object is equal to the current object. Inherited from Object. |
| ForceUseGenericDefaultStringFormat() static | Specifies how the default string format referred to by the TextOptions.DefaultStringFormat property is constructed. |
| GetDXStringFormat() | Returns an object that contains text alignment information and OpenType features. |
| GetDXStringFormat(TextOptions) | Returns an object that contains text alignment information and OpenType features. |
| GetHashCode() | Serves as the default hash function. Inherited from Object. |
| GetStringFormat() | Returns a StringFormat object whose settings reflect the alignment, word wrapping and text trimming options of the TextOptions.DefaultOptions object. |
| GetStringFormat(TextOptions) | Returns a StringFormat object whose settings reflect the alignment, word wrapping and text trimming options of the specified TextOptions object. |
| GetStringFormatInfo() | Returns a StringFormatInfo object whose settings reflect the alignment, word wrapping and text trimming options of the TextOptions.DefaultOptions object. |
| GetStringFormatInfo(TextOptions) | Returns a StringFormatInfo object whose settings reflect the alignment, word wrapping and text trimming options of the TextOptions.DefaultOptions object. |
| GetTrimming(Trimming) | |
| GetType() | Gets the Type of the current instance. Inherited from Object. |
| HorzAlignmentToStringAlignment(HorzAlignment) static | Obsolete. Converts the specified HorzAlignment value to a corresponding StringAlignment value. |
| IsEqual(TextOptions) | Tests whether two objects have the same property values. |
| 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. |
| Reset() | Resets all the text settings to their default values. |
| SetHAlignment(HorzAlignment) | Specifies a text’s horizontal alignment within a control. |
| SetHAlignmentCore(HorzAlignment) | This is an internal method that should not be called directly from your code. |
| SetHotKeyPrefix(HKeyPrefix) | Sets the TextOptions.HotkeyPrefix property without the property changed notifications. |
| ToString() | Returns the text representation of the current object. |
| UpdateDefaultOptions(TextOptions) | For internal use. Copies settings from the specified object to the current object. |
| VertAlignmentToStringAlignment(VertAlignment) static | Obsolete. Converts the specified VertAlignment value to a corresponding StringAlignment value. |
See Also