IDocumentInfo
public interface IDocumentInfo
Defines methods that are required for getting basic document information.
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 abstract FileType getFileType()
Gets the file format description.
Returns: FileType - The file format description.
getPageCount()
public abstract int getPageCount()
Gets the total page count.
Returns: int - The total page count.
getSize()
public abstract long getSize()
Gets the document size in bytes.
Returns: long - The document size in bytes.
getPages()
public abstract List<PageInfo> getPages()
Gets the list of page information.
Returns: java.util.List<com.groupdocs.redaction.PageInfo> - The list of page information.