createfont (gdi32)
Last changed: 72.76.115.156

.
Summary

C# Signature:

[DllImport("gdi32.dll")]
static extern IntPtr CreateFont(int nHeight, int nWidth, int nEscapement,
   int nOrientation, int fnWeight, uint fdwItalic, uint fdwUnderline, uint
   fdwStrikeOut, uint fdwCharSet, uint fdwOutputPrecision, uint
   fdwClipPrecision, uint fdwQuality, uint fdwPitchAndFamily, string lpszFace);

C# Signature:

[DllImport("gdi32", EntryPoint="CreateFontW")]
static extern IntPtr CreateFontW(
            [In] Int32 nHeight,
            [In] Int32 nWidth,
            [In] Int32 nEscapement,
            [In] Int32 nOrientation,
            [In] Int32 fnWeight,
            [In] UInt32 fdwItalic,
            [In] UInt32 fdwUnderline,
            [In] UInt32 fdwStrikeOut,
            [In] UInt32 fdwCharSet,
            [In] UInt32 fdwOutputPrecision,
            [In] UInt32 fdwClipPrecision,
            [In] UInt32 fdwQuality,
            [In] IntPtr lpszFace);

User-Defined Types:

None.

Notes:

None.

Tips & Tricks:

Please add some!

Sample Code:

Please add some!

Alternative Managed API:

Do you know one? Please contribute it!

Documentation
CreateFont on MSDN