Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.5.2
|
Leadtools.Annotations Namespace > AnnAutomationManager Class : MaintainAspectRatio Property |
public bool MaintainAspectRatio {get; set;}
'Declaration Public Property MaintainAspectRatio As Boolean
'Usage Dim instance As AnnAutomationManager Dim value As Boolean instance.MaintainAspectRatio = value value = instance.MaintainAspectRatio
This example makes it so that when moving the corner control points of a rectangular annotation object, the aspect ratio is not preserved.
Imports Leadtools Imports Leadtools.Annotations Imports Leadtools.WinForms Imports Leadtools.Codecs Public Sub AnnAutomationManager_MaintainAspectRatio(ByVal manager As AnnAutomationManager) manager.MaintainAspectRatio = False End Sub
using Leadtools; using Leadtools.Annotations; using Leadtools.WinForms; using Leadtools.Codecs; public void AnnAutomationManager_MaintainAspectRatio(AnnAutomationManager manager) { manager.MaintainAspectRatio = false; }