AnnIsClipboardDataPresentCallback Delegate

Summary

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

Syntax
TypeScript
JavaScript
function lt.Annotations.Automation.AnnIsClipboardDataPresentCallback( 
   automation, 
   format 
) 
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 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.