Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.5.10
|
Leadtools.Windows.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.Windows.Controls Imports Leadtools.Windows.Annotations Private Sub AnnAutomation_CanPaste(ByVal automation As AnnAutomation) If automation.CanPaste Then automation.Paste() End If End Sub
using Leadtools.Windows.Controls; using Leadtools.Windows.Annotations; using Leadtools.Demos; using Leadtools.Help; private void AnnAutomation_CanPaste(AnnAutomation automation) { if(automation.CanPaste) automation.Paste(); }
using Leadtools.Windows.Controls; using Leadtools.Windows.Annotations; using Leadtools.Examples; using Leadtools.Silverlight.Demos; private void AnnAutomation_CanPaste(AnnAutomation automation) { if (automation.CanPaste) { // ... paste from Clipboard here... } }
Imports Leadtools.Windows.Controls Imports Leadtools.Windows.Annotations Imports Leadtools.Silverlight.Demos Private Sub AnnAutomation_CanPaste(ByVal automation As AnnAutomation) If automation.CanPaste Then ' ... paste from Clipboard here... End If End Sub