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


In This Topic
    Translate1D Method (NShape)
    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. Throws an exception if this is not a 1D shape.
    Syntax
    'Declaration
     
    
    Public Overridable 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 NShape
    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 virtual 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