Intersoft ClientUI Documentation
PrintDocument Class
Members 



Provides printing capability for Intersoft documents.
Syntax
Public Class PrintDocument 
Dim instance As PrintDocument
public class PrintDocument 
public ref class PrintDocument 
Remarks

PrintDocument class will use the Print method to print the document. Print method needs two parameters, DocumentPaginator object and the document name. DocumentPaginator is an abstract base class that supports creation of multiple-page elements from a single document. By default, each FixedDocument has DocumentPaginator property that contain DocumentPaginator object for the fixed document.

CS
Copy Code
private void Print()
{
    PrintDocument pd = new PrintDocument();
    pd.Print(FixedDocument1.DocumentPaginator, "Employee Document");
}

Additionally, you can specify a custom paginator class to add custom elements for printing purpose only, such as header or footer. To learn more about how to implement custom paginator class for printing purpose, see How-to: Use Custom Paginator to Print FixedDocument. To learn more about how to implement custom paginator class in UXDocumentViewer, see How-to: Use Custom Paginator in UXDocumentViewer.

Inheritance Hierarchy

System.Object
   Intersoft.Client.Documents.PrintDocument

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

PrintDocument Members
Intersoft.Client.Documents Namespace

Send Feedback