VintaSoft Imaging .NET SDK v8.6
Vintasoft.Imaging.Pdf.Drawing.GraphicsFigures Namespace / ImageFigure Class / MaintainAspectRatio Property



In This Topic
    MaintainAspectRatio Property (ImageFigure)
    In This Topic
    Gets or sets a value indicating whether the figure saves the aspect ratio of its image.
    Syntax
    'Declaration
     
    <DescriptionAttribute("A value indicating whether the figure saves the aspect ratio of its image.")>
    <DefaultValueAttribute()>
    Public Property MaintainAspectRatio As Boolean
    [Description("A value indicating whether the figure saves the aspect ratio of its image.")]
    [DefaultValue()]
    public bool MaintainAspectRatio {get; set;}
    [Description("A value indicating whether the figure saves the aspect ratio of its image.")]
    [DefaultValue()]
    public: __property bool get_MaintainAspectRatio();
    public: __property void set_MaintainAspectRatio( 
       bool value
    );
    [Description("A value indicating whether the figure saves the aspect ratio of its image.")]
    [DefaultValue()]
    public:
    property bool MaintainAspectRatio {
       bool get();
       void set (    bool value);
    }

    Property Value

    Default value is false.
    Requirements

    Target Platforms: Windows 10, Windows 8, Windows 7, Windows Vista, Windows XP, Windows Server 2012, Windows Server 2008, Windows Server 2003

    See Also