This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IP > IPictureElement Interface > IPictureElement.PictureAspectRatio Property (ArcObjects .NET 10.5 SDK) |
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
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.