CreatePenIndirect The CreatePenIndirect function creates a logical cosmetic pen that has the style, width, and color specified in a structure.
VB4-32,5,6
Declare Function CreatePenIndirect Lib "gdi32" Alias "CreatePenIndirect" (lpLogPen As LOGPEN) As Long |
VB.NET
System.Drawing.Pen |
Operating Systems Supported |
Requires Windows NT 3.1 or later; Requires Windows 95 or later |
- lplgpn
Points to the LOGPEN structure that specifies the pen’s style, width, and color. |
If the function succeeds, the return value is a handle that identifies a logical cosmetic pen.
If the function fails, the return value is NULL. |
|