←Select platform

PasteStringAt Method

Summary

Copies the annotation objects contained in a serialization object at the specified position.

Syntax

C#
VB
Java
Objective-C
WinRT C#
C++
public void PasteStringAt( 
   string data, 
   LeadPointD position 
) 
Public Sub PasteStringAt( _ 
   ByVal data As String, _ 
   ByVal position As Leadtools.LeadPointD _ 
)  
public void PasteStringAt(  
   string data, 
   Leadtools.LeadPointD position 
) 
-(void)pasteStringAt:(NSString*)data position:(LeadPointD)position; 
void pasteStringAt:(String data, LeadPointD position); 
 function Leadtools.Annotations.Automation.AnnAutomation.PasteStringAt(  
   data , 
   position  
) 
public:  
   void PasteStringAt( 
      String^ data, 
      LeadPointD^ position 
   ) 

Parameters

data
String containing serialization of annotation objects. This parameter cannot be null

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 can be used to pass the result from 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