←Select platform

AnnIsClipboardDataPresentCallback Delegate

Summary

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

Syntax

C#
VB
Java
WinRT C#
public delegate bool AnnIsClipboardDataPresentCallback(  
   Leadtools.Annotations.Automation.AnnAutomation automation, 
   string format 
) 
Public Delegate Function AnnIsClipboardDataPresentCallback( _ 
   ByVal automation As Leadtools.Annotations.Automation.AnnAutomation, _ 
   ByVal format As String _ 
) As Boolean 
public delegate bool AnnIsClipboardDataPresentCallback(  
   Leadtools.Annotations.Automation.AnnAutomation automation, 
   string format 
) 
boolean AnnIsClipboardDataPresentCallback.isClipboardDataPresent(AnnAutomation automation, String format)
AnnIsClipboardDataPresentCallback(  
   automation , 
   format  
) 

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 whether a callback was set in AnnAutomationManager.PlatformCallbacks and then AnnPlatformCallbacks.IsClipboardDataPresent. The implementer of AnnIsClipboardDataPresentCallback must then call the platform clipboard function to check whether data for

format*
Annotation format. Currently only "AnnObject" is supported.

Requirements

Target Platforms

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.Annotations.Automation Assembly
Click or drag to resize