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



Gets or sets the scale of the 3D object.

Syntax

Visual Basic (Declaration) 
Public Property Scale As Single
Visual Basic (Usage)Copy Code
Dim instance As Medical3DObject
Dim value As Single
 
instance.Scale = value
 
value = instance.Scale
C# 
public float Scale {get; set;}
C++/CLI 
public:
property float Scale {
   float get();
   void set (    float value);
}

Property Value

Value that indicates the scale of the 3D object. If the scale of the object is not the same along the 3 axes, the scale will return 100.

Remarks

The valid range is from 2 to 200. Setting the scale value to "100" means using 100 percent of the original dimension (no scaling). Setting the scale to 200 is equivalent to multiplying the original dimensional length by 2. Negative numbers are invalid. All numbers outside this range are set to the nearest valid interval point (so it will be either 2 or 200).

The Scale property enlarges object dimensions whereas the Medical3DCamera.Zoom property moves the camera closer to the object.

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