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;} |
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.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.
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7