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
Support Forum
Download Visual Studio Add-In

Terms of Use
Privacy Policy

Search Results for "CreateFont" in [All]

Constants

1: EMR_
.

        EMR_EXTCREATEFONTINDIRECTW     = 82,

gdi32

.
Summary
.

static extern IntPtr CreateFont(int nHeight, int nWidth, int nEscapement,

.

[DllImport("gdi32", EntryPoint="CreateFontW")]

.

static extern IntPtr CreateFontW(

.

Private Declare Function CreateFont Lib "gdi32" Alias "CreateFontA" (_

.
Documentation
[CreateFont] on MSDN
.
Summary
.

static extern IntPtr CreateFontIndirect([In] ref LOGFONT lplf);

.

      public static extern IntPtr CreateFontIndirect(

.
Documentation
[CreateFontIndirect] on MSDN
.

[CharSet = CharSet.Auto] According to my experience this parameter should be used when using a LOGFONT structure and the CreateFontIndirect fuction, otherwise the selected font will not be displayed. All flags will be done (lfItalic, lfUnderline ...) but not the lfFaceName string.


 
Access PInvoke.net directly from VS: