dxGetFontData(HFONT) Method
Returns settings of a font object identified by its handle.
Declaration
function dxGetFontData(AFontHandle: HFONT): TLogFont;
Parameters
Name | Type |
---|---|
AFontHandle | HFONT |
Returns
Type |
---|
TLogFont |
Remarks
Call this function to obtain the style, size, pitch, orientation, and charset settings of the font object whose handle is passed as the AFontHandle parameter.
The first overloaded variant stores the font settings to the ALogFont parameter and returns True if these settings are found. Otherwise, False is returned.
The second overloaded variant returns the font settings as the function’s result.
See Also