Nevron Open Vision Documentation
Nevron.Nov.Diagram Namespace / NRoutableConnector Class / Translate1D Method


In This Topic
    Translate1D Method (NRoutableConnector)
    In This Topic
    Translates a 1D shape, by offseting the begin and end points of the shape. The modification of both the begin and end points of the shape is optional. Overriden to translate the model points too. Throws an exception if this is not a 1D shape.
    Syntax
    'Declaration
     
    
    Public Overrides Sub Translate1D( _
       ByVal dx As System.Double, _
       ByVal dy As System.Double, _
       ByVal translateBegin As System.Boolean, _
       ByVal translateEnd As System.Boolean _
    ) 
    'Usage
     
    
    Dim instance As NRoutableConnector
    Dim dx As System.Double
    Dim dy As System.Double
    Dim translateBegin As System.Boolean
    Dim translateEnd As System.Boolean
     
    instance.Translate1D(dx, dy, translateBegin, translateEnd)
    public override void Translate1D( 
       System.double dx,
       System.double dy,
       System.bool translateBegin,
       System.bool translateEnd
    )

    Parameters

    dx
    dy
    translateBegin
    translateEnd
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)

    See Also