Nevron .NET Vision
Nevron.Diagram.Shapes Namespace / NShapesFactory Class / CreateCenterPort Method / CreateCenterPort(NShape,NContentAlignment,Guid) Method
shape
alignment of the port relative to the anchor model
anchor model unique id


In This Topic
    CreateCenterPort(NShape,NContentAlignment,Guid) Method
    In This Topic
    Creates a dynamic center port for the specified shape, anchored to the sub model with the specified UId
    Syntax
    'Declaration
     
    
    Protected Overloads Overridable Sub CreateCenterPort( _
       ByVal shape As NShape, _
       ByVal alignment As NContentAlignment, _
       ByVal anchorUId As System.Guid _
    ) 
    'Usage
     
    
    Dim instance As NShapesFactory
    Dim shape As NShape
    Dim alignment As NContentAlignment
    Dim anchorUId As System.Guid
     
    instance.CreateCenterPort(shape, alignment, anchorUId)
    protected virtual void CreateCenterPort( 
       NShape shape,
       NContentAlignment alignment,
       System.Guid anchorUId
    )

    Parameters

    shape
    shape
    alignment
    alignment of the port relative to the anchor model
    anchorUId
    anchor model unique id
    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