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


In This Topic
    Translate2D Method
    In This Topic
    Translates a 2D shape, by offseting the PinPoint with the specified amounts. Throws an exception if this is not a 2D shape.
    Syntax
    'Declaration
     
    
    Public Overridable Sub Translate2D( _
       ByVal dx As System.Double, _
       ByVal dy As System.Double _
    ) 
    'Usage
     
    
    Dim instance As NShape
    Dim dx As System.Double
    Dim dy As System.Double
     
    instance.Translate2D(dx, dy)
    public virtual void Translate2D( 
       System.double dx,
       System.double dy
    )

    Parameters

    dx
    dy
    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