Specifies the different page scaling option that shall be selected when a print dialog is displayed for this document.
// Create a new PDF document
let document : PdfDocument = new PdfDocument();
// Gets the viewer preferences of the document
let viewerPreferences : PdfViewerPreferences = document.viewerPreferences;
// Sets the page scaling
viewerPreferences.pageScaling = PageScalingMode.None;
// Destroy the document
document.destroy();
AppDefault
- Indicates the conforming reader’s default print scaling.None
- Indicates no page scaling.