Example usage for com.lowagie.text.pdf PdfName NONE

List of usage examples for com.lowagie.text.pdf PdfName NONE

Introduction

In this page you can find the example usage for com.lowagie.text.pdf PdfName NONE.

Prototype

PdfName NONE

To view the source code for com.lowagie.text.pdf PdfName NONE.

Click Source Link

Document

A name

Usage

From source file:org.sejda.impl.itext.util.ViewerPreferencesUtils.java

License:Apache License

/**
 * Mapping between Sejda and iText print scaling constants
 * //from ww w.ja  v a  2s  . 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;
}