public class DocumentInfo extends Object implements IDocumentInfo
| Modifier and Type | Method and Description |
|---|---|
FileTypePackage |
getFileType()
Gets the file type of the loaded document.
|
int |
getPageCount()
Gets the number of pages (slides, worksheets, etc) in the loaded document.
|
IReadOnlyList<PageInfo> |
getPages()
Gets a collection of objects representing common information about the document pages (slides, worksheets, etc).
|
long |
getSize()
Gets the size of the loaded document in bytes.
|
boolean |
isEncrypted()
Gets a value indicating whether the document is encrypted and requires a password to open.
|
public final FileTypePackage getFileType()
Gets the file type of the loaded document.
getFileType in interface IDocumentInfopublic final int getPageCount()
Gets the number of pages (slides, worksheets, etc) in the loaded document.
getPageCount in interface IDocumentInfopublic final IReadOnlyList<PageInfo> getPages()
Gets a collection of objects representing common information about the document pages (slides, worksheets, etc).
getPages in interface IDocumentInfopublic final long getSize()
Gets the size of the loaded document in bytes.
getSize in interface IDocumentInfopublic final boolean isEncrypted()
Gets a value indicating whether the document is encrypted and requires a password to open.
isEncrypted in interface IDocumentInfoCopyright © 2026. All rights reserved.