Desktop Functions: Smart Device Functions:
|
Search Results for "GetFontData" in [All]gdi321: GetFontData
static extern uint GetFontData(IntPtr hdc, uint dwTable, uint dwOffset,
/// If this parameter is zero, GetFontData returns the size of the font metrics table specified in the <paramref name="dwTable"/> parameter. </param>
private static extern uint GetFontData(IntPtr hdc, uint dwTable, uint dwOffset, [Out] byte[] lpvBuffer, uint cbData);
uint byteCount = GetFontData(hdc, nameTableKey, 0, fontData, 0);
// Now init the byte array and load the data by calling GetFontData once again
GetFontData(hdc, nameTableKey, 0, fontData, byteCount); |