Nevron .NET Vision
Nevron.Diagram.WinForm Namespace / NCreateRectangleTool Class / CreateElement Method
whether the node is for preview


In This Topic
    CreateElement Method (NCreateRectangleTool)
    In This Topic
    Overriden to call the CreateRectangle method of the ElementFactory
    Syntax
    'Declaration
     
    
    Protected Overrides Function CreateElement( _
       ByVal preview As System.Boolean _
    ) As INDiagramElement
    'Usage
     
    
    Dim instance As NCreateRectangleTool
    Dim preview As System.Boolean
    Dim value As INDiagramElement
     
    value = instance.CreateElement(preview)
    protected override INDiagramElement CreateElement( 
       System.bool preview
    )

    Parameters

    preview
    whether the node is for preview

    Return Value

    new rectangle
    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