This documentation is archived and is not being maintained.
FontUnit Members
.NET Framework 1.1
Public Constructors
FontUnit Constructor | Overloaded. Initializes a new instance of the FontUnit class. |
Public Fields
![]() Empty | Represents an empty FontUnit object. |
![]() Large | Represents a FontUnit object with the Type property set to FontSize.Large. |
![]() Larger | Represents a FontUnit object with the Type property set to FontSize.Larger. |
![]() Medium | Represents a FontUnit object with the Type property set to FontSize.Medium. |
![]() Small | Represents a FontUnit object with the Type property set to FontSize.Small. |
![]() Smaller | Represents a FontUnit object with the Type property set to FontSize.Smaller. |
![]() XLarge | Represents a FontUnit object with the Type property set to FontSize.XLarge. |
![]() XSmall | Represents a FontUnit object with the Type property set to FontSize.XSmall. |
![]() XXLarge | Represents a FontUnit object with the Type property set to FontSize.XXLarge. |
![]() XXSmall | Represents a FontUnit object with the Type property set to FontSize.XXSmall. |
Public Properties
IsEmpty | Gets a value that indicates whether the font size has been set. |
Type | Gets a FontSize enumeration value that represents the font size. |
Unit | Gets a Unit that represents the font size. |
Public Methods
Equals | Overridden. Determines whether the specified System.Object is equivalent to the instance of the FontUnit class that this method is called from. |
GetHashCode | Overridden. Returns the hash code for this instance. |
GetType (inherited from Object) | Gets the Type of the current instance. |
![]() Parse | Overloaded. Converts the specified string to its FontUnit equivalent. |
![]() Point | Creates a FontUnit of type System.Drawing.Point from an integer value. |
ToString | Overloaded. Overridden. Converts the FontUnit object to a string representation. |
Public Operators and Type Conversions
![]() Equality Operator | Compares two FontUnit objects for equality. |
![]() Inequality Operator | Compares two FontUnit objects for inequality. |
![]() Int32 to FontUnit Conversion | Implicitly creates a FontUnit of type System.Drawing.Point from an integer value. |
Protected Methods
Finalize (inherited from Object) | Overridden. Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
In C# and C++, finalizers are expressed using destructor syntax. |
MemberwiseClone (inherited from Object) | Creates a shallow copy of the current Object. |
See Also
Show:


