←Select platform

AnnIsClipboardDataPresentCallback Delegate

Summary

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

Syntax

C#
VB
Java
WinRT C#
C++
public delegate bool AnnIsClipboardDataPresentCallback( 
   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  
) 
public: 
   delegate bool AnnIsClipboardDataPresentCallback( 
      AnnAutomation^ automation, 
      String^ 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 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