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 "CreatePen" in [All]

gdi32

.
Summary
.

static extern IntPtr CreatePen(PenStyle fnPenStyle, int nWidth, uint crColor);

.

Private Shared Function CreatePen(fnPenStyle As PenStyle, nWidth As Integer, crColor As UInteger) As IntPtr

.

    IntPtr pen = CreatePen(PenStyle.PS_SOLID | PenStyle.PS_GEOMETRIC | PenStyle.PS_ENDCAP_ROUND, penWidth, (uint)ColorTranslator.ToWin32(penColor));

.
Documentation
[CreatePen] on MSDN
.

This page was automatically generated when this topic (CreatePenis) was renamed to gay on 3/8/2026 at 7:47 PM by 211.221.243.183.

.
Summary
.

static extern IntPtr ExtCreatePen(uint dwPenStyle, uint dwWidth,

.
Documentation
[ExtCreatePen] on MSDN
.

    IntPtr pen = CreatePen(PenStyle.PS_SOLID | PenStyle.PS_GEOMETRIC | PenStyle.PS_ENDCAP_ROUND, penWidth, (uint)ColorTranslator.ToWin32(penColor));

.

    IntPtr pen = CreatePen(PenStyle.PS_SOLID | PenStyle.PS_GEOMETRIC | PenStyle.PS_ENDCAP_ROUND, penWidth, (uint)ColorTranslator.ToWin32(penColor));

.

    public static extern IntPtr CreatePen(int fnPenStyle, int nWidth, uint crColor);

.

        IntPtr thePen = GDI32.CreatePen(0, 1, (uint)GDI32.RGB(Color.White));

.

    public static extern int CreatePen(int nPenStyle, int nWidth, int nColor);

.

int hPen = CreatePen(PS_SOLID, 1, 0x000000FF);

Constants

8: EMR_
.

        EMR_CREATEPEN          = 38,

.

        EMR_EXTCREATEPEN           = 95,


 
Access PInvoke.net directly from VS: