A newer version of this page is available. Switch to the current version.

PrintPreviewFormExBase.PrintingSystem Property

Gets or sets the Printing System used to create and print a document for this link.

Namespace: DevExpress.XtraPrinting.Preview

Assembly: DevExpress.XtraPrinting.v18.2.dll


public PrintingSystemBase PrintingSystem { get; set; }
Public Property PrintingSystem As PrintingSystemBase

Property Value

Type Description

A PrintingSystemBase class descendant.


Use the PrintingSystem property to access the PrintingSystemBase object which is responsible for report formatting. It paginates a document using the PrintingSystemBase.PageSettings property and then either prints it out or exports it.


This example demonstrates how to execute printing system commands via the PrintingSystemBase.ExecCommand method. Note that some commands are called without any parameters, and that others require parameters to be passed via the overloaded PrintingSystemBase.ExecCommand method.

using DevExpress.XtraPrinting;
// ...

// Zoom the preview of a document so that it fits the entire page

// Invoke the Hand tool.
printingSystem1.ExecCommand(PrintingSystemCommand.HandTool, new object[] {true}); 

// Hide the Hand tool.
printingSystem1.ExecCommand(PrintingSystemCommand.HandTool, new object[] {false});


See Also