This documentation is archived and is not being maintained.

FontUnit Members

FontUnit overview

Public Constructors

public constructorFontUnit Constructor Overloaded. Initializes a new instance of the FontUnit class.

Public Fields

public fieldstatic (Shared in Visual Basic)Empty Represents an empty FontUnit object.
public fieldstatic (Shared in Visual Basic)Large Represents a FontUnit object with the Type property set to FontSize.Large.
public fieldstatic (Shared in Visual Basic)Larger Represents a FontUnit object with the Type property set to FontSize.Larger.
public fieldstatic (Shared in Visual Basic)Medium Represents a FontUnit object with the Type property set to FontSize.Medium.
public fieldstatic (Shared in Visual Basic)Small Represents a FontUnit object with the Type property set to FontSize.Small.
public fieldstatic (Shared in Visual Basic)Smaller Represents a FontUnit object with the Type property set to FontSize.Smaller.
public fieldstatic (Shared in Visual Basic)XLarge Represents a FontUnit object with the Type property set to FontSize.XLarge.
public fieldstatic (Shared in Visual Basic)XSmall Represents a FontUnit object with the Type property set to FontSize.XSmall.
public fieldstatic (Shared in Visual Basic)XXLarge Represents a FontUnit object with the Type property set to FontSize.XXLarge.
public fieldstatic (Shared in Visual Basic)XXSmall Represents a FontUnit object with the Type property set to FontSize.XXSmall.

Public Properties

public propertyIsEmpty Gets a value that indicates whether the font size has been set.
public propertyType Gets a FontSize enumeration value that represents the font size.
public propertyUnit Gets a Unit that represents the font size.

Public Methods

public methodEquals Overridden. Determines whether the specified System.Object is equivalent to the instance of the FontUnit class that this method is called from.
public methodGetHashCode Overridden. Returns the hash code for this instance.
public methodGetType (inherited from Object) Gets the Type of the current instance.
public methodstatic (Shared in Visual Basic)Parse Overloaded. Converts the specified string to its FontUnit equivalent.
public methodstatic (Shared in Visual Basic)Point Creates a FontUnit of type System.Drawing.Point from an integer value.
public methodToString Overloaded. Overridden. Converts the FontUnit object to a string representation.

Public Operators and Type Conversions

public operatorstatic (Shared in Visual Basic)Equality Operator Compares two FontUnit objects for equality.
public operatorstatic (Shared in Visual Basic)Inequality Operator Compares two FontUnit objects for inequality.
public operatorstatic (Shared in Visual Basic)Int32 to FontUnit Conversion Implicitly creates a FontUnit of type System.Drawing.Point from an integer value.

Protected Methods

protected methodFinalize (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.

protected methodMemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

FontUnit Structure | System.Web.UI.WebControls Namespace

Show: