TVideoGrabber.SetDisplayAutoSize

Prev

Next

TVideoGrabber

Methods

 




































































































If enabled, the control is resized automatically according to the current video size.


Declaration
procedure SetDisplayAutoSize (DisplayIndex: LongInt; Value: Boolean);


void __fastcall SetDisplayAutoSize(int DisplayIndex, bool Value);

Description

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)