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


IPictureElement.PictureAspectRatio Property (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Carto)  

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(
  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