List of usage examples for com.itextpdf.text.pdf PdfName APPDEFAULT
PdfName APPDEFAULT
To view the source code for com.itextpdf.text.pdf PdfName APPDEFAULT.
Click Source Link
From source file:org.sejda.impl.itext5.util.ViewerPreferencesUtils.java
License:Open Source License
/** * Mapping between Sejda and iText print scaling constants * //ww w .j a v a 2 s .c o m * @param scaling * @return the iText print scaling constant */ public static PdfName getPrintScaling(PdfPrintScaling scaling) { if (PdfPrintScaling.NONE.equals(scaling)) { return PdfName.NONE; } return PdfName.APPDEFAULT; }