Class Document

All Implemented Interfaces:
AutoCloseable
Direct Known Subclasses:
MultiPageDocument, SinglePageDocument

public abstract class Document extends NativeObject implements AutoCloseable

The base class for image documents

Image documents are either opened using open(com.pdftools.sys.Stream) or the result of an operation, e.g. of PDF to image conversion using pdftools.pdf2image.Converter.convertPage.