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



Gets or sets the value that determines whether to maintain the aspect ratio when editing the annotation object using the mouse or not.

Syntax

Visual Basic (Declaration) 
<BrowsableAttribute(False)>
Public Property MaintainAnnotationObjectAspectRatio As Boolean
Visual Basic (Usage)Copy Code
Dim instance As Medical3DControl
Dim value As Boolean
 
instance.MaintainAnnotationObjectAspectRatio = value
 
value = instance.MaintainAnnotationObjectAspectRatio
C# 
[BrowsableAttribute(false)]
public bool MaintainAnnotationObjectAspectRatio {get; set;}
C++/CLI 
[BrowsableAttribute(false)]
public:
property bool MaintainAnnotationObjectAspectRatio {
   bool get();
   void set (    bool value);
}

Property Value

true to maintain the aspect ratio; otherwise, false.

Example

For an example, please refer to Leadtools.MedicalViewer.MedicalViewerSubCell

Remarks

This value is useful when resize the symmetrical annotation objects like rectangle, ellipse, hilite, etc.

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