public class PdfViewInfo extends ViewInfo
Represents view information for PDF document.
Constructor and Description |
---|
PdfViewInfo(FileType fileType,
List<Page> pages,
boolean printingAllowed)
Initializes new instance of
PdfViewInfo class. |
Modifier and Type | Method and Description |
---|---|
boolean |
isPrintingAllowed()
Indicates if printing of the document is allowed.
|
getFileType, getPages, toString
public PdfViewInfo(FileType fileType, List<Page> pages, boolean printingAllowed)
Initializes new instance of PdfViewInfo
class.
fileType
- The type of the file.pages
- The list of pages to view.printingAllowed
- The printing permission indicator.IllegalArgumentException
- Thrown when pages
is null.