IDocumentInfo
Leave feedback
On this page
public interface IDocumentInfo
Provides common information about a loaded document.
Learn more
| Method | Description |
|---|---|
| getFileType() | Gets the file type of the loaded document. |
| getSize() | Gets the size of the loaded document in bytes. |
| getPageCount() | Gets the number of pages (slides, worksheets, etc) in the loaded document. |
| getPages() | Gets a collection of objects representing common information about the document pages (slides, worksheets, etc). |
| isEncrypted() | Gets a value indicating whether the document is encrypted and requires a password to open. |
public abstract FileTypePackage getFileType()
Gets the file type of the loaded document.
Returns: FileTypePackage - The file type of the loaded document.
public abstract long getSize()
Gets the size of the loaded document in bytes.
Returns: long - The size of the loaded document in bytes.
public abstract int getPageCount()
Gets the number of pages (slides, worksheets, etc) in the loaded document.
Returns: int - The number of pages (slides, worksheets, etc) in the loaded document.
public abstract IReadOnlyList<PageInfo> getPages()
Gets a collection of objects representing common information about the document pages (slides, worksheets, etc).
Returns: IReadOnlyList - A collection of objects representing common information about the document pages (slides, worksheets, etc).
public abstract boolean isEncrypted()
Gets a value indicating whether the document is encrypted and requires a password to open.
Returns: boolean - A value indicating whether the document is encrypted and requires a password to open.
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.