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


IPictureElement.PictureAspectRatio Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IP > IPictureElement Interface > IPictureElement.PictureAspectRatio Property
ArcGIS Developer Help

IPictureElement.PictureAspectRatio Property

Filter used in CFileDialog.

[Visual Basic .NET]
Public ReadOnly Property PictureAspectRatio As Double
[C#]
public double PictureAspectRatio {get;}
[C++]
HRESULT get_PictureAspectRatio(
  System.Double* ratio
);
[C++]
Parameters
ratio [out, retval]

ratio is a parameter of type double*

Product Availability

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

Remarks

PictureAspectRatio returns the ratio of the x and y parameters of the picture.  The ratio is calculated by dividing the x length of the picture by the y length.

The PictureAspectRatio can only be manipulated through the user interface and only when the MaintainAspectRatio property is set to False.

 

See Also

IPictureElement Interface