shrinkToFit constant
PdfPrintScaling
const shrinkToFit
Shrink to Fit
A conditional scaling mode:
- If the page at its actual size is larger than the printable area, it
is scaled down to fit (behaving like
fitToPrintableArea
). - If the page at its actual size is smaller than or equal to the
printable area, it is printed without scaling (behaving like
actualSize
).
This is useful for ensuring large documents are not cropped while preserving the original size of smaller documents.
Implementation
static const PdfPrintScaling shrinkToFit = PdfPrintScalingValue(2);