VintaSoft Imaging .NET SDK 12.4: Documentation for .NET developer
Vintasoft.Imaging.Annotation.Wpf.UI Namespace / WpfImageAnnotationView Class / MaintainAspectRatio Property
Syntax Remarks Requirements SeeAlso
In This Topic
    MaintainAspectRatio Property (WpfImageAnnotationView)
    In This Topic
    Gets or sets a value indicating whether annotation must maintain the aspect ratio of image.
    Syntax
    'Declaration
    
    <DescriptionAttribute("A value indicating whether annotation must maintain the aspect ratio of image.")>
    Public Property MaintainAspectRatio As Boolean
    
    
    [Description("A value indicating whether annotation must maintain the aspect ratio of image.")]
    public bool MaintainAspectRatio { get; set; }
    
    
    [Description("A value indicating whether annotation must maintain the aspect ratio of image.")]
    public: __property bool get_MaintainAspectRatio();
    public: __property void set_MaintainAspectRatio(
    bool value
    );
    [Description("A value indicating whether annotation must maintain the aspect ratio of image.")]
    public:
    property bool MaintainAspectRatio { bool get(); void set(bool value); }
    Remarks

    This property has higher priority than Symmetry property.

    Requirements

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

    See Also