Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

FontUnit Members

Represents the size of a font.

The following tables list the members exposed by the FontUnit type.

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

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

  Name Description
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

(see also Protected Methods )
  Name Description
Public method Equals Overloaded. Overridden. Determines whether the specified object is equivalent to the instance of the FontUnit class that the Equals method is called from.
Public method GetHashCode Overridden. Returns the hash code for this instance.
Public method GetType  Gets the Type of the current instance. (Inherited from Object.)
Public method Static op_Equality Compares two FontUnit objects for equality.
Public method Static op_Implicit Implicitly creates a FontUnit of type System.Drawing.Point from an integer value.
Public method Static op_Inequality Compares two FontUnit objects for inequality.
Public method Static Parse Overloaded. Converts the specified string to its FontUnit equivalent.
Public method Static Point Creates a FontUnit of type System.Drawing.Point from an integer value.
Public method Static ReferenceEquals  Determines whether the specified Object instances are the same instance. (Inherited from Object.)
Public method ToString Overloaded. Overridden. Converts the FontUnit object to a string representation.
Top

  Name Description
Protected method 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.)
Protected method MemberwiseClone  Creates a shallow copy of the current Object. (Inherited from Object.)
Top

Community Additions

ADD
Show:
© 2015 Microsoft