←Select platform

AnnGetClipboardDataCallback Delegate

Summary
Callback to get the current annotation data for a clipboard paste operation.
Syntax
C#
C++/CLI
Java
Python
public delegate void AnnGetClipboardDataCallback( 
   AnnAutomation automation, 
   LeadPointD position, 
   string format 
) 
void AnnGetClipboardDataCallback.getClipboardData(AnnAutomation automation, LeadPointD position, String format) 
public: 
   delegate void AnnGetClipboardDataCallback( 
      AnnAutomation^ automation, 
      LeadPointD^ position, 
      String^ format 
   ) 
def AnnGetClipboardDataCallback(self,automation,position,format): 
# automation : AnnAutomation, position : LeadPointD, format : String 

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

Leadtools.Annotations.Automation Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.