←Select platform

AnnIsClipboardDataPresentCallback Delegate

Summary

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

Syntax
C#
VB
Java
C++
public delegate bool AnnIsClipboardDataPresentCallback( 
   AnnAutomation automation, 
   string format 
) 
Public Delegate Function AnnIsClipboardDataPresentCallback( _ 
   ByVal automation As AnnAutomation, _ 
   ByVal format As String _ 
) As Boolean 
boolean AnnIsClipboardDataPresentCallback.isClipboardDataPresent(AnnAutomation automation, String 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

See Also

Reference

AnnIsClipboardDataPresentCallback Members

Leadtools.Annotations.Automation Namespace

Help Version 20.0.2019.3.11
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2019 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Automation Assembly