←Select platform

PasteAt Method

Summary

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

Syntax
C#
VB
Java
Objective-C
C++
public void PasteAt( 
   LeadPointD position 
) 
Public Sub PasteAt( _ 
   ByVal position As LeadPointD _ 
)  
-(void) objectPasteAt:(LeadPointD) position; 
public void pasteAt(LeadPointD position) 
public:  
   void PasteAt( 
      LeadPointD^ position 
   ) 

Parameters

position
Top-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 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 20.0.2019.9.19
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2019 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Automation Assembly