VintaSoft Imaging .NET SDK 15.1: Documentation for .NET developer
Vintasoft.Imaging.Wpf.UI.VisualTools Namespace / WpfOverlayImageTool Class / MaintainAspectRatio Property
Syntax Requirements SeeAlso
In This Topic
MaintainAspectRatio Property (WpfOverlayImageTool)
In This Topic
Gets or sets a value indicating whether visual tool must maintain the aspect ratio of image.
Syntax
'Declaration

<DescriptionAttribute("A value indicating whether visual tool must maintain the aspect ratio of image.")>
<DefaultValueAttribute(False)>
<CategoryAttribute("Behavior")>
Public Property MaintainAspectRatio As Boolean

[Description("A value indicating whether visual tool must maintain the aspect ratio of image.")]
[DefaultValue(False)]
[Category("Behavior")]
public bool MaintainAspectRatio { get; set; }

Property Value

Default value is false.
Requirements

Target Platforms: .NET 10; .NET 9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

See Also