LEADTOOLS Medical (Leadtools.Medical3D assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.30
Translate Method
See Also 
Leadtools.Medical3D Namespace > Medical3DObject Class : Translate Method



x
The amount of translation in the x-axis
y
The amount of translation in the y-axis
z
The amount of translation in the z-axis
axes
A Medical3DAxis enumeration value that specifies the axis (axes) of translation. You can combine one or more flags.
x
The amount of translation in the x-axis
y
The amount of translation in the y-axis
z
The amount of translation in the z-axis
axes
A Medical3DAxis enumeration value that specifies the axis (axes) of translation. You can combine one or more flags.
Translates the 3D object in the container by a specified amount in the any specified axis.

Syntax

Visual Basic (Declaration) 
Public Sub Translate( _
   ByVal x As Single, _
   ByVal y As Single, _
   ByVal z As Single, _
   ByVal axes As Medical3DAxis _
) 
Visual Basic (Usage)Copy Code
Dim instance As Medical3DObject
Dim x As Single
Dim y As Single
Dim z As Single
Dim axes As Medical3DAxis
 
instance.Translate(x, y, z, axes)
C# 
public void Translate( 
   float x,
   float y,
   float z,
   Medical3DAxis axes
)
C++/CLI 
public:
void Translate( 
   float x,
   float y,
   float z,
   Medical3DAxis axes
) 

Parameters

x
The amount of translation in the x-axis
y
The amount of translation in the y-axis
z
The amount of translation in the z-axis
axes
A Medical3DAxis enumeration value that specifies the axis (axes) of translation. You can combine one or more flags.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also

Leadtools.Medical3D requires a Document or Medical toolkit license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features