AnnGetClipboardDataCallback Delegate

Summary

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

Syntax
TypeScript
JavaScript
function lt.Annotations.Automation.AnnGetClipboardDataCallback( 
   automation, 
   position, 
   format 
) 
interface lt.Annotations.Automation.AnnGetClipboardDataCallback { 
	( 
   automation: AnnAutomation, 
   position: LeadPointD, 
   format: string 
): void; 
} 

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

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