SetDisplayAutoSize
Delphi
procedure SetDisplayAutoSize (DisplayIndex: LongInt; Value: Boolean);
C++Builder
void __fastcall SetDisplayAutoSize(System::LongInt DisplayIndex, bool Value);
C#
public void SetDisplayAutoSize(int DisplayIndex, bool Value);
VB.NET
Public Sub SetDisplayAutoSize(DisplayIndex As Integer, Value As Boolean)
specifies whether the control must be resized automatically according to the current video size.
- disabled: the control size depends of the Width and Height properties, and the video window is stretched inside.
- enabled: the control size is automatically modified according to VideoSize or UseNearestVideoSize .
The window Index specified must be in the 2..8 range (0..1 reserved to Display... and Dual_Display).