LEADTOOLS JavaScript (Leadtools.Annotations.Automation)

Paste Method

Show in webframe
Copies the annotation objects from the clipboard to this AnnAutomation.
Syntax
 function Leadtools.Annotations.Automation.AnnAutomation.paste()
Remarks

Use the CanPaste property to determine whether annotation objects are in the clipboard and can be pasted. Use this property to update the user interface of your application (for example, enabling or disabling an Edit/Paste menu item). Call the PasteAt and PasteStringAt methods to actually copy the objects from the clipboard to this AnnAutomation.

Since clipboard operations is platform-specific, this method will use AnnPlatformCallbacks.GetClipboardData of AnnAutomationManager.PlatformCallbacks to perform the paste operation.

Note that the DeserializeObjectError event will fire if an error occur during the paste operation.

See Also

Reference

AnnAutomation Object
AnnAutomation Members

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.