←Select platform

AnnGetClipboardDataCallback Delegate

Summary

Callback to get the current annotation data for a clipboard paste operation.

Syntax
C#
VB
C++
Java
public delegate void AnnGetClipboardDataCallback( 
   AnnAutomation automation, 
   LeadPointD position, 
   string format 
) 
Public Delegate Sub AnnGetClipboardDataCallback( _ 
   ByVal automation As AnnAutomation, _ 
   ByVal position As LeadPointD, _ 
   ByVal format As String _ 
)  
void AnnGetClipboardDataCallback.getClipboardData(AnnAutomation automation, LeadPointD position, String format) 
public: 
   delegate void AnnGetClipboardDataCallback( 
      AnnAutomation^ automation, 
      LeadPointD^ position, 
      String^ format 
   ) 

Parameters

automation
Automation object requesting the operation.

position
Position to paste the objects, in container coordinates.

format
Annotation format. Currently only "AnnObject" is supported.

Remarks

This callback is used by AnnAutomation when Paste or PasteAt are called. The automation object will query whether a callback was set in AnnAutomationManager.PlatformCallbacks and then AnnPlatformCallbacks.GetClipboardData. The implementer of AnnGetClipboardDataCallback must then get the clipboard data as a string and call AnnAutomation.PasteStringAt using the parameters to complete the paste operation.

Requirements

Target Platforms

See Also

Reference

AnnGetClipboardDataCallback Members

Leadtools.Annotations.Automation Namespace

Help Version 20.0.2020.3.31
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Automation Assembly