This method pastes objects that have been copied.
Parameters
x
The X coordinate of the top left corner of the pasted objects
y
The Y coordinate of the top left corner of the pasted objects
Return Value
Returns True if successful, otherwise returns False.
Explanation
The PasteCopiedObjects method pastes objects that have been copied by the CopySelectedObjects method or by choosing "Copy" in the context menu. (Note: after copying objects, if another image is loaded it is not possible to paste them.)
If multiple objects have been copied then only when the EditKind property is set to KindOfEdit.MultiSelect can these multiple objects be pasted.
If a single object has been copied then when the EditKind property is set to KindOfEdit.Select or set to KindOfEdit.MultiSelect the object can be pasted.
(As long as the loaded image doesn't change after the annotation objects have been copied, the EditKind property can be changed and another object drawn, as long as the EditKind property is returned to the above values the copied object can be pasted.)
The top left corner of the copied object will be pasted at the coordinates specified in the PasteCopiedObjects method's x and y parameters. When multiple objects are copied, the most upper left objects top left corner will be pasted at the coordinates specified by the PasteCopiedObjects method's x and y parameters and the other objects will maintain the relative position as when they were copied. If any of the pasted objects lies outside of the ImageKit control, all pasted objects will automatically be resized to fit within the ImageKit control.
To remove the objects pasted with the PasteCopiedObjects method, right click on the objects and choose "Undo" in the context menu or execute the Undo method.
To perform the same function as executing this method, right click the object and display the context menu then select "Paste". For more details about the context menu, please refer to ContextMenuEnable property.
See also
ImageKit.Edit Members | Newtone.ImageKit.Win.ImageKit