AnnSetClipboardDataCallback Delegate

Summary

Callback to set the current annotation data for a clipboard copy operation.

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

Parameters

automation

Automation object requesting the operation.

format

Annotation format. Currently only "AnnObject" is supported.

data

The clipboard data to set. This is one or more AnnObject in serialization form.

Remarks

This callback is used by AnnAutomation when Copy is called. The automation object will query if a callback was set in AnnAutomationManager.PlatformCallbacks and then AnnPlatformCallbacks.SetClipboardData. The implementer of AnnSetClipboardDataCallback must then set the data into the platform clipboard.

Requirements

Target Platforms

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