SetDisplayAspectRatio
method
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 that must be used within the video window, used after invoking SetDisplayAutoSize (index, false). The window Index specified must be in the 2..8 range (0..1 reserved to Display... and Dual_Display).