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


In This Topic
    CreatePen Method (NGdi32)
    In This Topic
    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)
    public static System.IntPtr CreatePen( 
       System.int style,
       System.int width,
       System.int 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