SetDisplayAspectRatio
Delphi
procedure SetDisplayAspectRatio (DisplayIndex: LongInt; Value: TAspectRatio);
C++Builder
void __fastcall SetDisplayAspectRatio(System::LongInt DisplayIndex, TAspectRatio Value);
C#
public void SetDisplayAspectRatio(int DisplayIndex, TAspectRatio Value);
VB.NET
Public Sub SetDisplayAspectRatio(DisplayIndex As Integer, Value As TAspectRatio)
Specifies the aspect ratio method to use within the video window, when SetDisplayAutoSize (DisplayIndex, false) has been invoked.
The DisplayIndex parameter must be in the 2..8 range (0 and 1 are reserved for the Display_... and DualDisplay_... properties).