CutFrameToClipboard()

Description

Cuts the image data in the specified area to the system clipboard in DIB format.

Syntax

.CutFrameToClipboard(sImageIndex, left, top, right, bottom);;

Parameters

<short> sImageIndex: specifies the index of image in buffer. The index is 0-based.
<int> left: specifies the x-coordinate of the upper-left corner of the rectangle.
<int> top: specifies the y-coordinate of the upper-left corner of the rectangle.
<int> right: specifies the x-coordinate of the lower-right corner of the rectangle.
<int> bottom: specifies the y-coordinate of the lower-right corner of the rectangle.

Return value

bool

true indicates success. false indicates failure.

Remarks

Use BackgroundFillColor to specify the fill color for the cut frame.

When false is returned, check ErrorCode or ErrorString for error information.

See Also

CopyToClipboard
CutToClipboard