CanPrint Property
- Namespace
TXTextControl
- Package
TXTextControl.asTextControl. WinForms. SDK TXTextControl.from the private NuGet feed or Text Control Offline PackagesWindows. Forms. dll
Description
Informs whether the document can be printed. The property's value depends on the DocumentPermissions.AllowPrinting property and the currently set edit mode.
Syntax
public bool CanPrint { get; }Public ReadOnly Property CanPrint As BooleanExamples
The following example checks can print before performing the related operation.
if (textControl.CanPrint)
{
textControl.Print("CustomerName");
}If textControl.CanPrint Then
textControl.Print("CustomerName")
End IfLimitations
Runtime only.
Read only.