The Font type exposes the following members.

Constructors

  NameDescription
FontOverloaded.

Methods

  NameDescription
Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
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.)
GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType
Gets the Type of the current instance.
(Inherited from Object.)
MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
ToStringOverloaded.

Properties

  NameDescription
Bold
Gets or sets a value that indicates whether this Font object is bold.
CustomFontFile
Gets or sets the custom font file to use for this Font object. It can be specified as a relative URL or full path pointing out to the custom font file on local disk or; as an identifier stored in the appSettings section of Web.config file.
CustomFontFileFamilyIndex
Gets or sets the Font Family index of the type faces defined by the specified Custom Font File.
Italic
Gets or sets a value that indicates whether this Font object is italic.
Name
Gets or sets the face name of this Font object.
Size
Gets or sets the size of this Font object.
Strikeout
Gets or sets a value that indicates whether this Font object specifies a horizontal line through the font.
Underline
Gets or sets a value that indicates whether this Font object is underlined.
Unit
Gets or sets the unit of measure for this Font object.

See Also