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.

To set the left, top, width and height at the same time, invoke SetDisplayLocation.

DisplayIndex must be in the 2..8 range (0..1 reserved for Display... and DualDisplay...).