Nevron .NET Vision
Nevron.Diagram Namespace / NShape Class / SnapPortsTransform Method


In This Topic
    SnapPortsTransform Method
    In This Topic
    Transforms the shape to snap the specified ports. This operation alters the shape transformation to match the ports locations and directions.
    Syntax
    'Declaration
     
    
    Public Overridable Function SnapPortsTransform( _
       ByVal ownPort As NPort, _
       ByVal foreignPort As NPort _
    ) As System.Boolean
    'Usage
     
    
    Dim instance As NShape
    Dim ownPort As NPort
    Dim foreignPort As NPort
    Dim value As System.Boolean
     
    value = instance.SnapPortsTransform(ownPort, foreignPort)
    public virtual System.bool SnapPortsTransform( 
       NPort ownPort,
       NPort foreignPort
    )

    Parameters

    ownPort
    foreignPort
    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