Crops the image of a specified index in buffer to clipboard in DIB format.
| ActiveX Edition | Plug-in Edition | Mac Edition |
|---|---|---|
| Since V4.1 | Since V4.1 | Since V6.4 |
Boolean ObjectName. CropToClipboard(Short sImageIndex, Long left, Long top, long right, long bottom)
Short sImageIndex: specifies the index of image in buffer. The index is 0-based.
Long left: specifies the x-coordinate of the upper-left corner of the rectangle.
Long top: specifies the y-coordinate of the upper-left corner of the rectangle.
Long right: specifies the x-coordinate of the lower-right corner of the rectangle.
Long bottom: specifies the y-coordinate of the lower-right corner of the rectangle.
Boolean.
TRUE indicates success. FALSE indicates failure.
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.
CropToClipboard() crops an image and makes a copy of the cropped image to the clipboard. If the application does not need the original image in Dynamic (Web) TWAIN any more, use Crop().
Crop(), RotateLeft(), RotateRight(), Flip(), Mirror(), GetImageSize(), ChangeImageSize(), ShowImageEditor(), ImageEditorWindowTitle property, ImageEditorIfReadonly property, ImageEditorIfEnableEnumerator property, OnImageAreaSelected Event, OnImageAreaDeSelected Event
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.