←Select platform

AnnIsClipboardDataPresentCallback Delegate

Summary
Callback to determine whether a clipboard paste operation can be performed.
Syntax
C#
C++/CLI
Java
Python
public delegate bool AnnIsClipboardDataPresentCallback( 
   AnnAutomation automation, 
   string format 
) 
boolean AnnIsClipboardDataPresentCallback.isClipboardDataPresent(AnnAutomation automation, String format) 
public: 
   delegate bool AnnIsClipboardDataPresentCallback( 
      AnnAutomation^ automation, 
      String^ format 
   ) 
def AnnIsClipboardDataPresentCallback(self,automation,format): 
# automation : AnnAutomation, format : String 

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 22.0.2023.4.25
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Automation Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.