Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.5.2
|
Leadtools.Annotations Namespace > AnnAutomation Class : CanPaste Property |
public virtual bool CanPaste {get;}
'Declaration Public Overridable ReadOnly Property CanPaste As Boolean
'Usage Dim instance As AnnAutomation Dim value As Boolean value = instance.CanPaste
This example determines whether the clipboard contains annotation objects. If it does, it pastes them into the automation
Imports Leadtools Imports Leadtools.Annotations Imports Leadtools.WinForms Imports Leadtools.Drawing Public Sub AnnAutomation_CanPaste(ByVal automation As AnnAutomation) If automation.CanPaste Then automation.Paste() End If End Sub
using Leadtools; using Leadtools.Annotations; using Leadtools.WinForms; using Leadtools.Drawing; public void AnnAutomation_CanPaste(AnnAutomation automation) { if(automation.CanPaste) automation.Paste(); }