CanPaste Property
- Namespace
TXTextControl.Drawing
- Package
TXTextControl.asTextControl. WinForms. SDK TXDrawing.from the private NuGet feed or Text Control Offline Packagesdll
Description
Informs whether the internal clipboard contains shapes that can be pasted into the canvas.
Syntax
public bool CanPaste { get; }Public ReadOnly Property CanPaste As BooleanExamples
The following example checks can paste before performing the related operation.
if (tXDrawingCore.CanPaste)
{
tXDrawingCore.Paste();
}If tXDrawingCore.CanPaste Then
tXDrawingCore.Paste()
End IfLimitations
Read only.