ActiveReports 8
Print(PageDocument,Boolean,Boolean) Method
See Also 
GrapeCity.ActiveReports.Viewer.Win.v8 Assembly > GrapeCity.ActiveReports Namespace > PrintExtension Class > Print Method : Print(PageDocument,Boolean,Boolean) Method

pageDocument
Document to be printed.
showPrintDialog
If True the Print-dialog will be shown.
showPrintProgressDialog
If True the dialog with printing state information will be shown.

Glossary Item Box

Prints Page-based document

Syntax

Visual Basic (Declaration) 
Public Overloads Shared Function Print( _
   ByVal pageDocument As PageDocument, _
   ByVal showPrintDialog As System.Boolean, _
   ByVal showPrintProgressDialog As System.Boolean _
) As System.Boolean
C# 
public static System.bool Print( 
   PageDocument pageDocument,
   System.bool showPrintDialog,
   System.bool showPrintProgressDialog
)

Parameters

pageDocument
Document to be printed.
showPrintDialog
If True the Print-dialog will be shown.
showPrintProgressDialog
If True the dialog with printing state information will be shown.

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