LEADTOOLS JavaScript (Leadtools.Annotations.Automation)

PasteStringAt Method

Show in webframe
String containing serilization of annotation objects. This parameter cannot be null
Top-left position of the pasted objects in container coordinates.
Copies the annotation objects contained in a serilization object at the specified position.
Syntax
 function Leadtools.Annotations.Automation.AnnAutomation.pasteStringAt( 
   data ,
   position 
)

Parameters

ParameterTypeDescription
datastringString containing serilization of annotation objects. This parameter cannot be null
positionLeadPointDTop-left position of the pasted objects in container coordinates.
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).

Since clipboard operations is platform-specific, this method can be used to pass the result from 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.