←Select platform

CanPaste Property

Summary

Gets a value that indicates whether the clipboard contains annotation objects that can be pasted.

Syntax
C#
VB
Java
Objective-C
C++
public bool CanPaste { get; } 
Public ReadOnly Property CanPaste As Boolean 
@property (nonatomic, readonly) BOOL canPaste; 
public boolean canPaste() 
public:  
   property bool CanPaste 
   { 
      bool get() 
   } 

Property Value

true if the clipboard contains annotation objects that can be pasted; otherwise, false.

Remarks

Use this property to update the user interface of your application (for example, enabling or disabling an Edit/Paste menu item). Call the Paste method to actually copy the objects from the clipboard to this AnnAutomation.

Since clipboard operation is platform-specific, this property will the IsClipboardDataPresent ofPlatformCallbacks to determine if clipboard data is ready.

Requirements

Target Platforms

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

Leadtools.Annotations.Automation Assembly