[]
Gets or sets a value indicating whether the print dialog is displayed before the printing process starts.
public bool ShowPrintDialog { get; set; }
Type | Description |
---|---|
bool |
|
When set to true
, the print dialog is shown to the user, allowing them to select printer settings such as the printer to use,
the range of pages to print, and the number of copies. This dialog provides a final confirmation before printing begins, offering users
greater control over the printing process.
Setting this property to false
bypasses the print dialog, and the printing process starts immediately with the current printer settings.
This option is useful for automated printing scenarios where user interaction is not required or desired.
This example demonstrates how to disable the print dialog for automated printing:
var printerSettings = new GrapeCity.ActiveReports.PrinterSettings();
printerSettings.ShowPrintDialog = false;
// Proceed with printing operations