List of usage examples for com.lowagie.text.pdf PdfName APPDEFAULT
PdfName APPDEFAULT
To view the source code for com.lowagie.text.pdf PdfName APPDEFAULT.
Click Source Link
From source file:org.sejda.impl.itext.util.ViewerPreferencesUtils.java
License:Apache License
/** * Mapping between Sejda and iText print scaling constants * /* w ww. j a va 2 s .com*/ * @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; }