Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.5.10
|
Leadtools.Windows.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.Windows.Controls Imports Leadtools.Windows.Annotations Private Sub AnnAutomationManager_MaintainAspectRatio(ByVal manager As AnnAutomationManager) manager.MaintainAspectRatio = False End Sub
using Leadtools.Windows.Controls; using Leadtools.Windows.Annotations; using Leadtools.Demos; using Leadtools.Help; private void AnnAutomationManager_MaintainAspectRatio(AnnAutomationManager manager) { manager.MaintainAspectRatio = false; }
using Leadtools.Windows.Controls; using Leadtools.Windows.Annotations; using Leadtools.Examples; using Leadtools.Silverlight.Demos; private void AnnAutomationManager_MaintainAspectRatio(AnnAutomationManager manager) { manager.MaintainAspectRatio = false; }
Imports Leadtools.Windows.Controls Imports Leadtools.Windows.Annotations Imports Leadtools.Silverlight.Demos Private Sub AnnAutomationManager_MaintainAspectRatio(ByVal manager As AnnAutomationManager) manager.MaintainAspectRatio = False End Sub