PdfViewerPrintPagesFit Method |
Prints the specified pages on the default printer without displaying a dialog.
This method returns immediately, even if the printing has not completed.
Namespace: PdfViewer4WinNet.WpfAssembly: PdfViewerWinNet (in PdfViewerWinNet.dll) Version: 10.0
Syntaxpublic void PrintPagesFit(
int from,
int to,
bool shrinkToFit
)
Public Sub PrintPagesFit (
from As Integer,
to As Integer,
shrinkToFit As Boolean
)
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
- Kept for compatibility: the pages are always printed at their size, and the printer
fits pages larger than the paper.
See Also