com.groupdocs.viewer.results

Class PdfViewInfo



  • public class PdfViewInfo
    extends ViewInfo

    Represents view information for PDF document.

    • Constructor Detail

      • PdfViewInfo

        public PdfViewInfo(FileType fileType,
                   List<Page> pages,
                   boolean printingAllowed)

        Initializes new instance of PdfViewInfo class.

        Parameters:
        fileType - The type of the file.
        pages - The list of pages to view.
        printingAllowed - The printing permission indicator.
        Throws:
        IllegalArgumentException - Thrown when pages is null.
    • Method Detail

      • isPrintingAllowed

        public final boolean isPrintingAllowed()
        Indicates if printing of the document is allowed.
        Returns:
        Indicates if printing of the document is allowed.