PDF Viewer Control for .NET 2.0 Windows Forms
PrintPagesFit Method (from, to, shrinkToFit)
NamespacesPdfViewer4WinNetPdfViewerPrintPagesFit(Int32, Int32, Boolean)
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.
Declaration Syntax
C#Visual BasicVisual C++
public void PrintPagesFit(
	int from,
	int to,
	bool shrinkToFit
)
Public Sub PrintPagesFit ( _
	from As Integer, _
	to As Integer, _
	shrinkToFit As Boolean _
)
public:
void PrintPagesFit(
	int from, 
	int to, 
	bool shrinkToFit
)
Parameters
from (Int32)
The page number of the first page to be printed. The first page in a document is page 0.
to (Int32)
The page number of the last page to be printed.
shrinkToFit (Boolean)
Specifies whether the pages will be shrunk, if necessary, to fit into the imageable area of a page in the printer.

Assembly: PdfViewerWinNet (Module: PdfViewerWinNet) Version: 3.0.0.33756 (3.0.0.0)