The options will be reflected as default values on the print dialog of the document viewer.
public class DocumentViewerPrintOptions
Public Class DocumentViewerPrintOptions
DocumentViewerPrintOptions | Initializes a new instance of the DocumentViewerPrintOptions class. |
AutoRotate | Gets or sets a value that specifies whether to enable automatic rotation of landscape pages upon printing. Note that most browsers may already auto-rotate pages when printing. The default is true. |
Grayscale |
Gets or sets a value that specifies whether to print in grayscale (black and white).
The default is false.
Obsolete. |
HighQuality |
Gets or sets a value that specifies whether to print in high quality.
The default is true.
Obsolete. |
HighQualityLevel |
Gets or sets a value in percentage that specifies the level used when printing in high quality.
The default is 100.
Level 100 ensures excellent quality but may cause slow printing for some documents, you can decrease
the level to increase the printing speed while maintaining an acceptable quality for your case.
For this property to be effective HighQuality property should be set
to true.
Obsolete. |
IncludeComments |
Gets or sets a value that specifies whether to include annotation comments in the print output.
The default is false.
Obsolete. |
PageRange |
Gets or sets a value that specifies the page numbers (eg. "1-5, 8, 11-13") to print.
This property can be useful especially when SkipDialog is set to true and you need to restrict user to print
only specific pages.
The default is "" which means all pages.
Obsolete. |
Resolution |
Gets or sets a value in percentage that specifies the resolution (quality level) used when printing.
The default is 150.
The default level ensures excellent quality but may cause slow printing for some documents, you can decrease the level to increase the printing speed while maintaining an acceptable quality for your case. |
SkipDialog |
Gets or sets a value that specifies whether to start printing immediately without showing DocumentViewer's print dialog.
The default is false.
Obsolete. |