Nevron.Interop.Win32 Namespace / NGdi32 Class / CreatePen Method


CreatePen Method (NGdi32)
Syntax
'Declaration
 
Public Shared Function CreatePen( _
   ByVal style As System.Integer, _
   ByVal width As System.Integer, _
   ByVal color As System.Integer _
) As System.IntPtr
 
'Usage
 
Dim style As System.Integer
Dim width As System.Integer
Dim color As System.Integer
Dim value As System.IntPtr
 
value = NGdi32.CreatePen(style, width, color)

Parameters

style
width
color
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also