LEADTOOLS JavaScript (Leadtools.Annotations.Automation)

Copy Method

Show in webframe
Copies the objects currently being edited to the clipboard.
Syntax
 function Leadtools.Annotations.Automation.AnnAutomation.copy()
Remarks

AnnAutomation can copy objects to the clipboard when one or more Leadtools.Annotations.Core.AnnObject objects are currently in edit mode (selected).

Use the CanCopy property to determine whether objects inside this AnnAutomation can currently be copied to the clipboard

You can call Copy followed by DeleteSelectedObjects to simulate a clipboard "cut" operation.

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

See Also

Reference

AnnAutomation Object
AnnAutomation Members

 

 


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