Interface IGDIPlus.IGPFontFamily
From Mitov Wiki Doc
This is a Beta Read Only version of this page. Please review and send recommendations to mitov@mitov.com. We will enable the editing as soon as we are happy with the overall Wiki site.
Package: SignalLabBasicPkg
Unit: IGDIPlus
Contents |
Syntax
Delphi:
type IGPFontFamily = interface
Summary
Interface to a TGPFontFamily object.
Description
Defines interface to a TGPFontFamily object.
The TGPFontFamily class encapsulates a set of fonts that make up a font family. A font family is a group of fonts that have the same typeface but different styles.
Methods
- function GetFamilyName(language : LANGID) : String - Returns the name of the font family.
- function Clone() : TGPFontFamily - Creates a new TGPFontFamily object based on this TGPFontFamily object.
- function IsAvailable() : Boolean - Determines whether the TGPFontFamily object was created successfully.
- function IsStyleAvailable(style : Integer) : Boolean - Determines whether the specified style is available for the font family.
- function GetEmHeight(style : Integer) : UINT16 - Returns the size (commonly called em size or em height), in design units, of the font family.
- function GetCellAscent(style : Integer) : UINT16 - Returns the cell ascent, in design units, of the font family for the specified style or style combination.
- function GetCellDescent(style : Integer) : UINT16 - Returns the cell descent, in design units, of the font family for the specified style or style combination.
- function GetLineSpacing(style : Integer) : UINT16 - Returns the line spacing, in design units, of the font family for the specified style or style combination.
- function GetNativeFamily() : GpFontFamily