Viewer Class
Represents main class that controls document rendering process.
Inheritance Hierarchy
SystemObject
  GroupDocs.ViewerViewer

Namespace: GroupDocs.Viewer
Assembly: GroupDocs.Viewer (in GroupDocs.Viewer.dll) Version: 22.9
Syntax
public class Viewer : IDisposable

The Viewer type exposes the following members.

Constructors
  NameDescription
Public methodViewer(FuncStream)
Initializes new instance of Viewer class.
Public methodViewer(Stream)
Initializes new instance of Viewer class.
Public methodViewer(String)
Initializes new instance of Viewer class.
Public methodViewer(FuncStream, ViewerSettings)
Initializes new instance of Viewer class.
Public methodViewer(FuncStream, FuncLoadOptions)
Initializes new instance of Viewer class.
Public methodViewer(Stream, LoadOptions)
Initializes new instance of Viewer class.
Public methodViewer(Stream, ViewerSettings)
Initializes new instance of Viewer class.
Public methodViewer(Stream, Boolean)
Initializes new instance of Viewer class.
Public methodViewer(String, LoadOptions)
Initializes new instance of Viewer class.
Public methodViewer(String, ViewerSettings)
Initializes new instance of Viewer class.
Public methodViewer(FuncStream, FuncLoadOptions, ViewerSettings)
Initializes new instance of Viewer class.
Public methodViewer(Stream, LoadOptions, ViewerSettings)
Initializes new instance of Viewer class.
Public methodViewer(Stream, LoadOptions, Boolean)
Initializes new instance of Viewer class.
Public methodViewer(Stream, ViewerSettings, Boolean)
Initializes new instance of Viewer class.
Public methodViewer(String, LoadOptions, ViewerSettings)
Initializes new instance of Viewer class.
Public methodViewer(Stream, LoadOptions, ViewerSettings, Boolean)
Initializes new instance of Viewer class.
Methods
  NameDescription
Public methodDispose
Releases file stream and managed internal resources.
Protected methodDispose(Boolean)
Releases file stream and managed internal resources.
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetAttachments
Returns attachments contained by the document.
Public methodGetAttachments(CancellationToken)
Returns attachments contained by the document.
Public methodGetFileInfo
Returns information about file such as file-type and flag that indicates if file is encrypted.
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodGetViewInfo(ViewInfoOptions)
Returns information about view and document specific information.
Public methodGetViewInfo(ViewInfoOptions, CancellationToken)
Returns information about view and document specific information.
Protected methodMemberwiseClone (Inherited from Object.)
Public methodSaveAttachment(Attachment, Stream)
Saves attachment file to destination stream.
Public methodSaveAttachment(Attachment, Stream, CancellationToken)
Saves attachment file to destination stream.
Public methodToString (Inherited from Object.)
Public methodView(ViewOptions)
Creates view of all document pages.
Public methodView(ViewOptions, Int32)
Creates view of specific document pages.
Public methodView(ViewOptions, CancellationToken)
Creates view of all document pages.
Public methodView(ViewOptions, CancellationToken, Int32)
Creates view of specific document pages.
See Also