canPaste Property

Summary

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

Syntax
TypeScript
JavaScript
Object.defineProperty(AnnAutomation.prototype, 'canPaste', 
	get: function() 
) 
canPaste: boolean; // read-only 

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 call the IsClipboardDataPresent ofPlatformCallbacks to determined if clipboard data is ready.

Requirements
Target Platforms
Help Version 21.0.2021.6.30
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Automation Assembly

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.