Search
Module:
Directory

   Desktop Functions:

   Smart Device Functions:


Show Recent Changes
Subscribe (RSS)
Misc. Pages
Comments
FAQ
Helpful Tools
Playground
Suggested Reading
Website TODO List
Download Visual Studio Add-In

Search Results for "GetFontData" in [All]

gdi32

.

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);

.
Documentation
[GetFontData] on MSDN

 
Access PInvoke.net directly from VS: