BB FlashBack SDK: FBRecorder

SetRecordingRegionPosition

Description

Sets the position of the recording region while recording is in progress. The monitor or monitors on which the region lies will be automatically selected for recording.

This method only has an effect if region recording was selected for the current recording. See Recording Windows and Regions

This method can only change the region when GDI record mode has been selected. See About Record Modes.

To set the size and position of the initial recording region, use FBRecorder::SetRecordRegion.

Syntax

[C#/C++]
Public Bool SetRecordingRegionPosition (Long X, Long Y);

[VB.NET]
public Function SetRecordingRegionPosition (ByVal X As Integer, ByVal Y As Integer) as Boolean

Parameters

X (in) - X position of the top left corner of the region

Y (in) - Y position of the top left corner of the region

Returns

Returns True if the region is set successfully. Returns False and does not set the record region if the region lies outside of the desktop.

Remarks

Desktop co-ordinates are used for the top left corner specified here. X should be >= the X position of the top left corner of the leftmost monitor. Y should be >= the Y position of the top left corner of the leftmost monitor.

See Also

FBRecorder::GetRecordRegion