pasteAt Method

Summary

Copies the annotation objects from the clipboard to this AnnAutomation at the specified location.

Syntax

JavaScript Syntax
AnnAutomation.prototype.pasteAt = function(position) 
TypeScript Syntax
pasteAt(position: LeadPointD): void; 

Parameters

position

Top-left position for the paste operation.

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 Paste method to actually copy the objects from the clipboard to this AnnAutomation.

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

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

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Automation Assembly