AnnGetClipboardDataCallback Delegate

Summary

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

Syntax

JavaScript Syntax
function lt.Annotations.Automation.AnnGetClipboardDataCallback(automation, position, format) 
TypeScript Syntax
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 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Automation Assembly