Cuts the image data in the specified area to the system clipboard in DIB format.
| ActiveX Edition | Plug-in Edition | Mac Edition |
|---|---|---|
| Since V6.0 | Since V6.0 | Since V6.4 |
ObjectName.CutFrameToClipboard(short sImageIndex, Int32 iLeft, Int32 iTop, Int32 iRight, Int32 iBottom)
short sImageIndex: Specifies the index of image in buffer. The index is 0-based.
Int32 iLeft: Specifies the x-coordinate of the upper-left corner of the rectangle.
Int32 iTop: Specifies the y-coordinate of the upper-left corner of the rectangle.
Int32 iRight: Specifies the x-coordinate of the lower-right corner of the rectangle.
Int32 iBottom: Specifies the y-coordinate of the lower-right corner of the rectangle.
True indicates success. False indicates failure.
The fill color can be assigned by calling BackgroundFillColor. This method cuts the image data of selected area into the clipboard. The valid area is the intersection of specified area (defined by the input parameters) and the whole image. If the intersection is invalid, an error will be thrown out.
When an error occurs and IfThrowException property is TRUE, an exception will be thrown.
When FALSE is returned or an exception is thrown, check ErrorCode property and ErrorString property for error information.
TWAIN ActiveX |
TWAIN Plug-in |
TWAIN Control |
TWAIN SDK |
Scanner COM
Software Configuration Management |
Version Control |
Source Control
Copyright © 2012 Dynamsoft Corporation. All Rights Reserved.