Skip to content

SetDisplayTop

function

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

Specifies the top position 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)