PDF Viewer Control for .NET Windows Forms Documentation

PdfViewerPrintPages Method

PDF Viewer Control for .NET Windows Forms
Prints the specified pages without displaying a user dialog box. The current printer, page settings, and job settings are used.This method returns immediately, even if the printing has not completed. NOTE:If security settings do not allow printing, this method will be ignored.

Namespace:  PdfViewer4WinNet
Assembly:  PdfViewerWinNet (in PdfViewerWinNet.dll) Version: 10.0.0.0 (10.0.0.0)
Syntax

public void PrintPages(
	int from,
	int to
)

Parameters

from
Type: SystemInt32
The page number of the first page to be printed. The first page in a document is page 0.
to
Type: SystemInt32
The page number of the last page to be printed.
See Also

Reference