←Select platform

MaintainAspectRatio Property

Summary
Gets or sets a value that indicates whether to preserve the aspect ratio when moving a corner thumb for all AnnEditDesigner derived classes.
Syntax
C#
Objective-C
C++/CLI
Java
Python
public bool MaintainAspectRatio { get; set; } 
@property (nonatomic, assign) BOOL maintainAspectRatio; 
public boolean getMaintainAspectRatio() 
public void setMaintainAspectRatio(boolean maintainAspectRatio) 
public:  
   property bool MaintainAspectRatio 
   { 
      bool get() 
      void set(bool value) 
   } 
MaintainAspectRatio # get and set (AnnAutomationManager) 

Property Value

true to maintain the aspect ratio; otherwise, it is false. The default value is true.

Remarks

When selecting an AnnRectangleObject, any annotation object that derives from AnnRectangleObject, or an AnnGroupObject, eight thumbs appear. If MaintainAspectRatio is true (default), dragging one of the four corner thumbs will change the size of the annotation object while maintaining its aspect ratio. If this value is false, the aspect ratio is not preserved.

Requirements

Target Platforms

Help Version 22.0.2023.4.25
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Automation Assembly

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.