Drawing-scale description returned by page.getDrawingScale() and accepted by page.setDrawingScale().
page.getDrawingScale()
page.setDrawingScale()
The ratio drawingScale / pageScale (after unit conversion to a common base) is the factor by which one page unit maps to real-world distance.
drawingScale / pageScale
// 1 inch on paper = 10 feet in the real world{ pageScale: 1, pageUnit: 'in', drawingScale: 10, drawingUnit: 'ft' }// 1:100 metric{ pageScale: 1, pageUnit: 'cm', drawingScale: 100, drawingUnit: 'cm' } Copy
// 1 inch on paper = 10 feet in the real world{ pageScale: 1, pageUnit: 'in', drawingScale: 10, drawingUnit: 'ft' }// 1:100 metric{ pageScale: 1, pageUnit: 'cm', drawingScale: 100, drawingUnit: 'cm' }
Corresponding real-world measurement (e.g. 10).
Unit for the real-world measurement.
Measurement on the paper (e.g. 1).
Unit for the paper measurement.
Drawing-scale description returned by
page.getDrawingScale()and accepted bypage.setDrawingScale().The ratio
drawingScale / pageScale(after unit conversion to a common base) is the factor by which one page unit maps to real-world distance.Example