This document is archived and information here might be outdated.  Recommended version.


IPictureElement4.MaintainAspectRatio Property (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Carto)  

IPictureElement4.MaintainAspectRatio Property

Indicates if the resize box will maintain the picture's aspect ratio.

[Visual Basic .NET]
Public Property MaintainAspectRatio As Boolean
[C#]
public bool MaintainAspectRatio {get; set;}
[C++]
HRESULT get_MaintainAspectRatio(
  VARIANT_BOOL* bRatio
);
[C++]
HRESULT put_MaintainAspectRatio(
  VARIANT_BOOL bRatio
);
[C++]

Parameters bRatio [out, retval] bRatio is a parameter of type VARIANT_BOOL bRatio [in] bRatio is a parameter of type VARIANT_BOOL

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also

IPictureElement4 Interface