BB FlashBack SDK: FBRecorder

SetRecordRegion

Description

Sets the region to record. The monitor or monitors on which the region lies will be automatically selected for recording.

If you need to change the recorded region while recording is in progress, use FBRecorder::SetRecordingRegionPosition.

Syntax

[C#/C++]
Public Bool SetRecordRegion(Long X, Long Y, Long Width, Long Height);

[VB.NET]
public Function SetRecordRegion (ByVal X As Integer, ByVal Y As Integer, ByVal Width As Integer, ByVal Height 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

Height (in) - height of the record region

Width (in) - width of the record 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