Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxPDFDocument.AllowPrinting Property

Identifies if it is possible to print the loaded PDF document.

#Declaration

Delphi
property AllowPrinting: Boolean read;

#Property Value

Type Description
Boolean

True if users can print the loaded PDF document; otherwise, False.

#Remarks

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:

  • The ShowPrintForm command.
  • The Print… item in the control’s context menu.
  • The Ctrl+P key combination.

Refer to the following topic for detailed information on the document print functionality: How to Print PDF Documents.

See Also