Viewer
Leave feedback
On this page
Represents main class that controls document rendering process.
public class Viewer : IDisposable
| Name | Description |
|---|---|
| Viewer(Func<Stream>) | Initializes new instance of Viewer class. |
| Viewer(Stream) | Initializes new instance of Viewer class. |
| Viewer(string) | Initializes new instance of Viewer class. |
| Viewer(Func<Stream>, Func<LoadOptions>) | Initializes new instance of Viewer class. |
| Viewer(Func<Stream>, ViewerSettings) | Initializes new instance of Viewer class. |
| Viewer(Stream, bool) | Initializes new instance of Viewer class. |
| Viewer(Stream, LoadOptions) | Initializes new instance of Viewer class. |
| Viewer(Stream, ViewerSettings) | Initializes new instance of Viewer class. |
| Viewer(string, LoadOptions) | Initializes new instance of Viewer class. |
| Viewer(string, ViewerSettings) | Initializes new instance of Viewer class. |
| Viewer(Func<Stream>, Func<LoadOptions>, ViewerSettings) | Initializes new instance of Viewer class. |
| Viewer(Stream, LoadOptions, bool) | Initializes new instance of Viewer class. |
| Viewer(Stream, LoadOptions, ViewerSettings) | Initializes new instance of Viewer class. |
| Viewer(Stream, ViewerSettings, bool) | Initializes new instance of Viewer class. |
| Viewer(string, LoadOptions, ViewerSettings) | Initializes new instance of Viewer class. |
| Viewer(Stream, LoadOptions, ViewerSettings, bool) | Initializes new instance of Viewer class. |
| Name | Description |
|---|---|
| Dispose() | Releases file stream and managed internal resources. |
| GetAllFonts() | Returns all fonts, used in the loaded documents, including those, which are embedded inside the document itself and those system fonts, which are installed in the OS and used in the document |
| GetAttachments() | Returns attachments contained by the document. |
| GetAttachments(CancellationToken) | Returns attachments contained by the document. |
| GetFileInfo() | Returns information about file such as file-type and flag that indicates if file is encrypted. |
| GetViewInfo(ViewInfoOptions) | Returns information about view and document specific information. |
| GetViewInfo(ViewInfoOptions, CancellationToken) | Returns information about view and document specific information. |
| SaveAttachment(Attachment, Stream) | Saves attachment file to destination stream. |
| SaveAttachment(Attachment, Stream, CancellationToken) | Saves attachment file to destination stream. |
| Search(SearchHighlightOptions) | Performs a text search and its highlighting (if found) in the loaded document according to the loaded options |
| View(ViewOptions) | Creates view of all document pages. |
| View(ViewOptions, CancellationToken) | Creates view of all document pages. |
| View(ViewOptions, params int[]) | Creates view of specific document pages. |
| View(ViewOptions, CancellationToken, params int[]) | Creates view of specific document pages. |
- namespace GroupDocs.Viewer
- assembly GroupDocs.Viewer
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.