Font Members
The following tables list the members exposed by the Font type.
Public Fields
Name | Description | |
---|---|---|
DefaultKerning | Contains the default kerning for a particular font. |
Public Properties
Name | Description | |
---|---|---|
Ascent | Gets the ascent measurement for the current font, in pixels. | |
AverageWidth | Gets the average width of the characters in the current font, in pixels. | |
Descent | Gets the descent measurement for the current font, in pixels. | |
ExternalLeading | Gets the external leading measurement for the current font, in pixels. | |
Height | Gets the height of the current font, in pixels. | |
InternalLeading | Gets the internal leading measurement for the current font, in pixels. | |
MaxWidth | Gets the width of the widest character in the current font, in pixels. |
Public Methods
Name | Description | |
---|---|---|
CharWidth | Gets the width of the specified character, in pixels. | |
ComputeExtent | Overloaded. Computes the width and height of a specified line of text. | |
ComputeTextInRect | Overloaded. Computes the size of the rectangular area on the display device needed to render the specified text string. | |
Equals | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
ReferenceEquals | (Inherited from Object.) | |
ToString | (Inherited from Object.) |
Protected Methods
Name | Description | |
---|---|---|
Finalize | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) |