FontInfo Members
.NET Framework 2.0
Encapsulates the font properties of text. This class cannot be inherited.
The following tables list the members exposed by the FontInfo type.
| Name | Description | |
|---|---|---|
| Bold | Gets or sets a value that indicates whether the font is bold. |
| Italic | Gets or sets a value that indicates whether the font is italic. |
| Name | Gets or sets the primary font name. |
| Names | Gets or sets an ordered array of font names. |
| Overline | Gets or sets a value that indicates whether the font is overlined. |
| Size | Gets or sets the font size. |
| Strikeout | Gets or sets a value that indicates whether the font is strikethrough. |
| Underline | Gets or sets a value that indicates whether the font is underlined. |
(see also
Protected Methods
)
Top
| Name | Description | |
|---|---|---|
| ClearDefaults | Resets all FontInfo properties to the unset state and clears the view state. |
| CopyFrom | Duplicates the font properties of the specified FontInfo into the instance of the FontInfo class that this method is called from. |
| Equals | Overloaded. Determines whether two Object instances are equal. (Inherited from Object.) |
| GetHashCode | Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.) |
| GetType | Gets the Type of the current instance. (Inherited from Object.) |
| MergeWith | Combines the font properties of the specified FontInfo with the instance of the FontInfo class that this method is called from. |
| ReferenceEquals | Determines whether the specified Object instances are the same instance. (Inherited from Object.) |
| ShouldSerializeNames | Determines whether the Names property should be persisted. |
| ToString | Overridden. Returns a string that contains the font name and size for an instance of the FontInfo class. |
| Name | Description | |
|---|---|---|
| Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
Community Additions
ADD
Show: