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


In This Topic
    Translate Method (NShape)
    In This Topic
    Translate this item with the specified amounts. For 2D shapes this method translates the PinPoint, For 1D shapes this method translates the BeginPonit and EndPoint of the shape.
    Syntax
    'Declaration
     
    
    Public Overrides Sub Translate( _
       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.Translate(dx, dy)
    public override void Translate( 
       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