Back to Devexpress

PrintingSystem Class

windowsforms-devexpress-dot-xtraprinting-08064efb.md

latest4.2 KB
Original Source

PrintingSystem Class

Implements the basic printing functionality of the XtraPrinting Library.

Namespace : DevExpress.XtraPrinting

Assembly : DevExpress.XtraPrinting.v25.2.dll

NuGet Package : DevExpress.Win.Printing

Declaration

csharp
public class PrintingSystem :
    PrintingSystemBase,
    IDocumentSource,
    ILink
vb
Public Class PrintingSystem
    Inherits PrintingSystemBase
    Implements IDocumentSource,
               ILink

The following members return PrintingSystem objects:

Remarks

Note

The PrintingSystem class is intended to be used in Windows Forms applications. On other platforms, use the PrintingSystemBase class.

This class is no longer used separately. It is automatically created after assigning a PrintingSystem to the DocumentViewer.DocumentSource property of a DocumentViewer control.

To print a Windows Forms control’s content using DocumentViewer, add a link of the required type to the PrintingSystem.Links collection and assign the control to this link.

To learn what link types are used to print different controls, see Document Creation Approaches.

For a sample of using PrintingSystem to print a Windows Forms control’s content, see Lesson 1 - Show the Print Preview for a Link.

To print documents that are generated by remote sources (such as a ReportService or Report Server), use the RemotePrintingSystem class.

Inheritance

Object MarshalByRefObject Component PrintingSystemBase PrintingSystem

See Also

PrintingSystem Members

Printing System

DevExpress.XtraPrinting Namespace