public final class DocumentInfo extends Object implements IDocumentInfo
| Modifier and Type | Field and Description |
|---|---|
static IDocumentInfo |
Undefined |
| Constructor and Description |
|---|
DocumentInfo() |
DocumentInfo(FileType fileType,
boolean isEncrypted,
int pageCount,
long size,
com.aspose.ms.System.Collections.Generic.IGenericList<PageInfo> pages) |
| Modifier and Type | Method and Description |
|---|---|
FileType |
getFileType()
Gets the file format description.
|
int |
getPageCount()
Gets the total page count.
|
com.aspose.ms.System.Collections.Generic.IGenericList<PageInfo> |
getPages()
Gets the collection of document pages descriptions.
|
long |
getSize()
Gets the document size in bytes.
|
boolean |
isEncrypted()
Gets a value indicating whether the content is encrypted and requires a password to open.
|
boolean |
isImage()
Gets a value indicating whether the content is an image.
|
public static final IDocumentInfo Undefined
public final FileType getFileType()
IDocumentInfoGets the file format description.
getFileType in interface IDocumentInfopublic final int getPageCount()
IDocumentInfoGets the total page count.
getPageCount in interface IDocumentInfopublic final com.aspose.ms.System.Collections.Generic.IGenericList<PageInfo> getPages()
IDocumentInfoGets the collection of document pages descriptions.
getPages in interface IDocumentInfopublic final long getSize()
IDocumentInfoGets the document size in bytes.
getSize in interface IDocumentInfopublic final boolean isEncrypted()
Gets a value indicating whether the content is encrypted and requires a password to open.
isEncrypted in interface IDocumentInfopublic final boolean isImage()
Gets a value indicating whether the content is an image.
Copyright © 2026. All rights reserved.