Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.3.29
|
Leadtools.Annotations.Automation Assembly > Leadtools.Annotations.Automation Namespace > AnnAutomation Class : PasteStringAt Method |
public void PasteStringAt( string data, LeadPointD position )
'Declaration
Public Sub PasteStringAt( _ ByVal data As String, _ ByVal position As LeadPointD _ )
public void PasteStringAt( string data, LeadPointD position )
-(void)pasteStringAt:(NSString*)data position:(LeadPointD)position;
void pasteStringAt:(String data, LeadPointD position);
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.