Viewer
Contents
[
Hide
]
Viewer class
Represents main class that controls document rendering process.
public class Viewer : IDisposable
Constructors
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. |
Methods
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. |
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. |
See Also
- namespace GroupDocs.Viewer
- assembly GroupDocs.Viewer