ClipboardCopy Method

Copies the selected or specified portion of an image or annotation to the Clipboard.

Applies To

Image Edit control

Syntax

object.ClipboardCopy [Left,Top,Width,Height]

Arguments

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


Return Value

None

Remarks

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.

See Also

ClipboardCut method

ClipboardPaste method

Display topics in Imaging Concepts

DrawSelectionRect method

SelectionRectangle property

SelectionRectDrawn event