LEADTOOLS Medical (Leadtools.MedicalViewer assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.31
MaintainAnnotationObjectAspectRatio Property
See Also 
Leadtools.MedicalViewer Namespace > MedicalViewerBaseCell 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) 
Public Property MaintainAnnotationObjectAspectRatio As Boolean
Visual Basic (Usage)Copy Code
Dim instance As MedicalViewerBaseCell
Dim value As Boolean
 
instance.MaintainAnnotationObjectAspectRatio = value
 
value = instance.MaintainAnnotationObjectAspectRatio
C# 
public bool MaintainAnnotationObjectAspectRatio {get; set;}
C++/CLI 
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 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.MedicalViewer requires a Medical Imaging license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features