VintaSoft Imaging .NET SDK 14.0: Documentation for .NET developer
Vintasoft.Imaging.Pdf.Drawing.GraphicsFigures Namespace / VintasoftImageFigure Class / MaintainAspectRatio Property
Syntax Requirements SeeAlso
In This Topic
    MaintainAspectRatio Property (VintasoftImageFigure)
    In This Topic
    Gets or sets a value indicating whether graphics figure must maintain the aspect ratio of image.
    Syntax
    'Declaration
    
    <DescriptionAttribute("A value indicating whether graphics figure must maintain the aspect ratio of image.")>
    <DefaultValueAttribute(True)>
    Public Property MaintainAspectRatio As Boolean
    
    
    [Description("A value indicating whether graphics figure must maintain the aspect ratio of image.")]
    [DefaultValue(True)]
    public bool MaintainAspectRatio { get; set; }
    
    
    [Description("A value indicating whether graphics figure must maintain the aspect ratio of image.")]
    [DefaultValue(True)]
    public: __property bool get_MaintainAspectRatio();
    public: __property void set_MaintainAspectRatio(
    bool value
    );
    [Description("A value indicating whether graphics figure must maintain the aspect ratio of image.")]
    [DefaultValue(True)]
    public:
    property bool MaintainAspectRatio { bool get(); void set(bool value); }
    Requirements

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

    See Also