System.Object
Xceed.Drawing.Font
Name | Description | |
---|---|---|
![]() | Font Constructor | Overloaded. Creates a new Font object from specific values. |
Name | Description | |
---|---|---|
![]() | Name | Gets the Font's name. |
![]() | Size | Gets the Font's size. |
![]() | Style | Gets the Font's style. |
![]() | Value | Gets the value of the Font object. |
Name | Description | |
---|---|---|
![]() | Dispose | Releases all resources used by the Font. |
![]() ![]() | FromFile | Gets the Font's Name from a font file & then returns it. |
![]() ![]() | GetFontImage | Gets the Font's byte array. |
![]() | GetHeight | Returns the Font's height, as well as its ascent & descent. |
![]() ![]() | GetTextHeight | Calculates the text's height, based on the Font's Name & Size, as well as the text block's width. |
![]() ![]() | GetTextWidth | Calculates the text's width, based on the Font's Name & Size. |
Target Platforms: Windows 11, Windows 10, Windows 7, Windows 11, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2