Skip to content

SetDisplayWidth

method

Delphi
procedure SetDisplayWidth (DisplayIndex: LongInt; Value: LongInt);
C++Builder
void __fastcall SetDisplayWidth(System::LongInt DisplayIndex, System::LongInt Value);
C#
public void SetDisplayWidth(int DisplayIndex, int Value);
VB.NET
Public Sub SetDisplayWidth(DisplayIndex As Integer, Value As Integer)

Used to specify the width of the video window, when it is not embedded in the TVideoGrabber control. Note: the left, top, width and height properties can be set at the same time by invoking SetDisplayLocation. The window Index specified must be in the 2..8 range (0..1 reserved to Display... and Dual_Display).