Nevron .NET Vision
Nevron.Diagram.Maps Namespace / NShapeImporter Class / OnPolygonCreated Method


In This Topic
    OnPolygonCreated Method (NShapeImporter)
    In This Topic
    Called when a polygon shape has been created. Return false to cancel the adding of the shape to the document.
    Syntax
    'Declaration
     
    
    Protected Overridable Function OnPolygonCreated( _
       ByVal element As NDiagramElement, _
       ByVal mapFeature As NMapFeature _
    ) As System.Boolean
    'Usage
     
    
    Dim instance As NShapeImporter
    Dim element As NDiagramElement
    Dim mapFeature As NMapFeature
    Dim value As System.Boolean
     
    value = instance.OnPolygonCreated(element, mapFeature)
    protected virtual System.bool OnPolygonCreated( 
       NDiagramElement element,
       NMapFeature mapFeature
    )

    Parameters

    element
    mapFeature
    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