ScreenRecordingUsingCoordinates
function ScreenRecordingUsingCoordinates (FunctionEnabled: Boolean; scLeft: LongInt; scTop: LongInt; scWidth: LongInt; scHeight: LongInt): Boolean;
bool __fastcall ScreenRecordingUsingCoordinates(bool FunctionEnabled, System::LongInt scLeft, System::LongInt scTop, System::LongInt scWidth, System::LongInt scHeight);
public bool ScreenRecordingUsingCoordinates(bool FunctionEnabled, int scLeft, int scTop, int scWidth, int scHeight);
Public Function ScreenRecordingUsingCoordinates(FunctionEnabled As Boolean, scLeft As Integer, scTop As Integer, scWidth As Integer, scHeight As Integer) As Boolean
BOOL ScreenRecordingUsingCoordinates (BOOL FunctionEnabled, int scLeft, int scTop, int scWidth, int scHeight);
Limits the screen recording to a part of the screen.
Parameters:
-
FunctionEnabled: 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: height of the screen area to record.
The scLeft and scTop location can be modified dynamically while previewing or recording.
This feature is inactive if the recording of a window has been activated with SetWindowRecordingByName or SetWindowRecordingByHandle.
The coordinates are given in the pixels of the application: with a display scaling above 100%, those of a DPI unaware or system DPI aware application are converted to the pixels of the monitor.