List of usage examples for com.itextpdf.text.pdf PdfName NONE
PdfName NONE
To view the source code for com.itextpdf.text.pdf PdfName NONE.
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 * /*from w w w . j av a 2 s . co 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; }