DocumentInfo
Inheritance: java.lang.Object
All Implemented Interfaces: com.groupdocs.redaction.IDocumentInfo
public class DocumentInfo implements IDocumentInfo
Represents an information about document. Implements IDocumentInfo interface. See IDocumentInfo for examples.
Learn more
Methods
Method | Description |
---|---|
getFileType() | Gets the file format description. |
getPageCount() | Gets the total page count. |
getSize() | Gets the document size in bytes. |
getPages() | Gets the list of page information. |
getFileType()
public final FileType getFileType()
Gets the file format description.
Returns: FileType - The file format description.
getPageCount()
public final int getPageCount()
Gets the total page count.
Returns: int - The total page count.
getSize()
public final long getSize()
Gets the document size in bytes.
Returns: long - The document size in bytes.
getPages()
public final List<PageInfo> getPages()
Gets the list of page information.
Returns: java.util.List<com.groupdocs.redaction.PageInfo> - The list of page information.