This documentation is archived and is not being maintained.

FontUnit Members

Represents the size of a font.

The FontUnit type exposes the following members.

  NameDescription
Public method FontUnit Overloaded. Initializes a new instance of the FontUnit class.
Top

  NameDescription
Public method Equals Determines whether the specified System::Object is equivalent to the instance of the FontUnit class that this method is called from. (Overrides ValueType::Equals(Object).)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Returns the hash code for this instance. (Overrides ValueType::GetHashCode().)
Public method GetType Gets the type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method Static member Parse Overloaded. Converts the specified string to its FontUnit equivalent.
Public method Static member Point Creates a FontUnit of type System.Drawing::Point from an integer value.
Public method ToString Overloaded. Converts the FontUnit object to a string representation.
Top

  NameDescription
Public operator Static member Equality Compares two FontUnit objects for equality.
Public operator Static member Implicit Implicitly creates a FontUnit of type System.Drawing::Point from an integer value.
Public operator Static member Inequality Compares two FontUnit objects for inequality.
Top

  NameDescription
Public field Static member Empty Represents an empty FontUnit object.
Public field Static member Large Represents a FontUnit object with the Type property set to FontSize.Large.
Public field Static member Larger Represents a FontUnit object with the Type property set to FontSize.Larger.
Public field Static member Medium Represents a FontUnit object with the Type property set to FontSize.Medium.
Public field Static member Small Represents a FontUnit object with the Type property set to FontSize.Small.
Public field Static member Smaller Represents a FontUnit object with the Type property set to FontSize.Smaller.
Public field Static member XLarge Represents a FontUnit object with the Type property set to FontSize.XLarge.
Public field Static member XSmall Represents a FontUnit object with the Type property set to FontSize.XSmall.
Public field Static member XXLarge Represents a FontUnit object with the Type property set to FontSize.XXLarge.
Public field Static member XXSmall Represents a FontUnit object with the Type property set to FontSize.XXSmall.
Top

  NameDescription
Public property IsEmpty Gets a value that indicates whether the font size has been set.
Public property Type Gets a FontSize enumeration value that represents the font size.
Public property Unit Gets a Unit that represents the font size.
Top
Show: