AnnIsClipboardDataPresentCallback Delegate

Summary

Callback to determine whether a clipboard paste operation can be performed.

Syntax

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

Parameters

automation

Automation object requesting the operation.

format

Annotation format. Currently only "AnnObject" is supported.

Return Value

true if a paste operation can be performed; otherwise, false.

Remarks

This callback is used by AnnAutomation when CanPaste is called. The automation object will query if a callback was set in AnnAutomationManager.PlatformCallbacks and then AnnPlatformCallbacks.IsClipboardDataPresent. The implementer of AnnIsClipboardDataPresentCallback is present.

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