| Package | Description |
|---|---|
| com.groupdocs.viewer |
The package provides classes for rendering documents in HTML5, Image, or PDF modes with fast and high-quality results.
|
| com.groupdocs.viewer.utils |
The package provides helper and utility classes for various functionalities.
|
| Modifier and Type | Method and Description |
|---|---|
List<Attachment> |
Viewer.getAttachments(CancellationToken cancellationToken)
Returns attachments contained by the document.
|
ViewInfo |
Viewer.getViewInfo(ViewInfoOptions options,
CancellationToken cancellationToken)
Returns information about the view and document specific information.
|
void |
Viewer.saveAttachment(Attachment attachment,
OutputStream destination,
CancellationToken cancellationToken)
Saves an attachment file to the destination stream.
|
void |
Viewer.view(ViewOptions options,
CancellationToken cancellationToken)
Creates a view of all document pages.
|
void |
Viewer.view(ViewOptions options,
CancellationToken cancellationToken,
int... pageNumbers)
Creates a view of specific document pages.
|
| Modifier and Type | Field and Description |
|---|---|
static CancellationToken |
CancellationToken.NONE
A token that is never canceled.
|
| Modifier and Type | Method and Description |
|---|---|
CancellationToken |
CancellationTokenSource.getToken() |
Copyright © 2026 Aspose Pty Ltd. All rights reserved.