TVideoGrabber.ScreenRecordingUsingCoordinates

Prev

Next

TVideoGrabber

Methods

 




































































































Limits the screen recording to an area


Declaration
function ScreenRecordingUsingCoordinates (Enabled: Boolean; scLeft, scTop, scWidth, scHeight: LongInt): Boolean;


bool __fastcall ScreenRecordingUsingCoordinates(bool Enabled, int scLeft, int scTop, int scWidth, int scHeight);


Function ScreenRecordingUsingCoordinates (Enabled as Boolean, scTop, scWidth, scHeight as Long) as Boolean

Description

Used to limit the screen recording to a part of the screen.

Enabled : activates the limitation (if disabled, the whole screen is recorded)
scLeft : left coordinate of the screen area to record
scTop : top coordinate of the screen area to record
scWidth : width of the screen area to record
scHeight : heigth of the screen area to record

Remarks:
- the scLeft and scTop location may be modified dynamically while previewing or recording
- this feature is inactive if the recording of a window has been activated with SetWindowRecordingByName or SetWindowRecordingByHandle


See Also
TOnEnumerateWindows EnumerateWindows ScreenRecordingLayeredWindows ScreenRecordingMonitor ScreenRecordingNonVisibleWindows ScreenRecordingWithCursor SetWindowRecordingByHandle SetWindowRecordingByName