vcl-dxpdfdocument-dot-tdxpdfdocument-8d164e97.md
Identifies if it is possible to print the loaded PDF document.
property AllowPrinting: Boolean read;
| Type | Description |
|---|---|
| Boolean |
True if users can print the loaded PDF document; otherwise, False.
|
The AllowPrinting property returns False if an encrypted document is loaded with a user password and has no print permission (that is, the pdpAllowPrint flag is not set in the SecurityOptions.Permissions property). Otherwise, the property returns True.
A ShowPrintDialog procedure call has no effect and the following end-user commands are disabled in a PDF Viewer control if the AllowPrinting property returns False:
Refer to the following topic for detailed information on the document print functionality: How to Print PDF Documents.
See Also