←Select platform

AnnGetClipboardDataCallback Delegate

Summary

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

Syntax

C#
VB
Java
WinRT C#
C++
public delegate void AnnGetClipboardDataCallback( 
   AnnAutomation automation, 
   LeadPointD position, 
   string format 
) 
Public Delegate Sub AnnGetClipboardDataCallback( _ 
   ByVal automation As Leadtools.Annotations.Automation.AnnAutomation, _ 
   ByVal position As Leadtools.LeadPointD, _ 
   ByVal format As String _ 
)  
public delegate void AnnGetClipboardDataCallback(  
   Leadtools.Annotations.Automation.AnnAutomation automation, 
   Leadtools.LeadPointD position, 
   string format 
) 
void AnnGetClipboardDataCallback.getClipboardData(AnnAutomation automation, LeadPointD position, String format) 
AnnGetClipboardDataCallback(  
   automation , 
   position , 
   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

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