GetViewInfo
Contents
[
Hide
]
GetViewInfo(ViewInfoOptions)
Returns information about view and document specific information.
public ViewInfo GetViewInfo(ViewInfoOptions options)
| Parameter | Type | Description |
|---|---|---|
| options | ViewInfoOptions | The view info options. |
Return Value
Information about view and document specific information.
Exceptions
| exception | condition |
|---|---|
| ArgumentNullException | Thrown when options is null. |
| PasswordRequiredException | Thrown when password is required to open the document. |
| IncorrectPasswordException | Thrown when password that was specified is incorrect. |
Remarks
Learn more
- Learn more about document - file type, pages count and other format specific properties: How to get file information using GroupDocs.Viewer
See Also
- class ViewInfo
- class ViewInfoOptions
- class Viewer
- namespace GroupDocs.Viewer
- assembly GroupDocs.Viewer
GetViewInfo(ViewInfoOptions, CancellationToken)
Returns information about view and document specific information.
public ViewInfo GetViewInfo(ViewInfoOptions options, CancellationToken cancellationToken)
| Parameter | Type | Description |
|---|---|---|
| options | ViewInfoOptions | The view info options. |
| cancellationToken | CancellationToken | Cancellation token. |
Return Value
Information about view and document specific information.
Exceptions
| exception | condition |
|---|---|
| ArgumentNullException | Thrown when options is null. |
| PasswordRequiredException | Thrown when password is required to open the document. |
| IncorrectPasswordException | Thrown when password that was specified is incorrect. |
Remarks
Learn more
- Learn more about document - file type, pages count and other format specific properties: How to get file information using GroupDocs.Viewer
See Also
- class ViewInfo
- class ViewInfoOptions
- class Viewer
- namespace GroupDocs.Viewer
- assembly GroupDocs.Viewer