This document is archived and information here might be outdated. Recommended version. |
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*
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.