PDF Viewer Control for .NET Windows Forms Documentation

PdfViewerPrintPagesFit 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 PrintPagesFit(
	int from,
	int to,
	bool shrinkToFit
)

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.
shrinkToFit
Type: SystemBoolean
Specifies whether the pages will be shrunk, if necessary, to fit into the imageable area of a page in the printer.
See Also

Reference