Nevron .NET Vision
Nevron.GraphicsCore Namespace / NStrokeStyle Class / CreatePen Method


In This Topic
    CreatePen Method (NStrokeStyle)
    In This Topic
    Creates a pen corresponding to the settings of this NStrokeStyle
    Syntax
    'Declaration
     
    
    Public Function CreatePen( _
       ByVal device As INDevice _
    ) As System.Drawing.Pen
    'Usage
     
    
    Dim instance As NStrokeStyle
    Dim device As INDevice
    Dim value As System.Drawing.Pen
     
    value = instance.CreatePen(device)
    public System.Drawing.Pen CreatePen( 
       INDevice device
    )

    Parameters

    device
    Remarks
    If the NStrokeStyle object cannot produce a valid Pen the function returns null. Otherwise the function returns the newly created Pen object.
    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