The Font type exposes the following members.
Constructors
Name | Description | |
---|---|---|
Font | Overloaded. |
Methods
Name | Description | |
---|---|---|
Equals | (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.) | |
ToString | Overloaded. |
Properties
Name | Description | |
---|---|---|
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.
|