Example-VB | Example-VC++ |
Copies the selected or specified portion of an image or annotation to the Clipboard.
Ö | Imaging for Windows Professional Edition V1.0, V1.1, and V2.0 |
Ö | Imaging for Windows 95 and 98 |
Ö | Imaging for Windows NT 4.0 |
Image Edit control
object.ClipboardCopy [Left,Top,Width,Height]
Parameter | Data Type | Setting |
Left | Long | The upper-left corner of the selection rectangle in pixel coordinates of the displayed image |
Top | Long | The top of the selection rectangle in pixel coordinates of the displayed image |
Width | Long | The width of the selection rectangle in pixels |
Height | Long | The height of the selection rectangle in pixels |
None
If the ClipboardCopy method is invoked without parameters after an end user draws a selection rectangle, the image data bounded by the selection rectangle is copied to the Clipboard.
If the ClipboardCopy method is invoked without parameters and without an end user drawing a selection rectangle, the ClipboardCopy method generates an error.
To copy annotations to the Clipboard, the end user selects the desired annotation marks using the Select Annotations tool.
To copy image data to the Clipboard, the end user selects the desired area using the image selection rectangle, which is the default when no annotation tool is selected.
It is not possible to copy both image and annotation data to the Clipboard simultaneously.