Viewer
Viewer(Func<Stream>)
Initializes new instance of Viewer
class.
public Viewer(Func<Stream> getFileStream)
Parameter | Type | Description |
---|---|---|
getFileStream | Func`1 | The method that returns readable stream. |
Exceptions
exception | condition |
---|---|
ArgumentNullException | Thrown when getFileStream is null. |
Remarks
Learn more
- More about file types supported by GroupDocs.Viewer: Document formats supported by GroupDocs.Viewer
- More about GroupDocs.Viewer for .NET features: Developer Guide
See Also
- class Viewer
- namespace GroupDocs.Viewer
- assembly GroupDocs.Viewer
Viewer(Func<Stream>, Func<LoadOptions>)
Initializes new instance of Viewer
class.
public Viewer(Func<Stream> getFileStream, Func<LoadOptions> getLoadOptions)
Parameter | Type | Description |
---|---|---|
getFileStream | Func`1 | The method that returns readable stream. |
getLoadOptions | Func`1 | The methods that returns document load options. |
Exceptions
exception | condition |
---|---|
ArgumentNullException | Thrown when getFileStream is null. |
ArgumentNullException | Thrown when getLoadOptions is null. |
Remarks
Learn more
- More about file types supported by GroupDocs.Viewer: Document formats supported by GroupDocs.Viewer
- More about GroupDocs.Viewer for .NET features: Developer Guide
- More about loading encrypted documents and viewing files from third-party storages with GroupDocs.Viewer for .NET: How to load and view document with GroupDocs.Viewer
See Also
- class LoadOptions
- class Viewer
- namespace GroupDocs.Viewer
- assembly GroupDocs.Viewer
Viewer(Func<Stream>, ViewerSettings)
Initializes new instance of Viewer
class.
public Viewer(Func<Stream> getFileStream, ViewerSettings settings)
Parameter | Type | Description |
---|---|---|
getFileStream | Func`1 | The method that returns readable stream. |
settings | ViewerSettings | The Viewer settings. |
Exceptions
exception | condition |
---|---|
ArgumentNullException | Thrown when getFileStream is null. |
ArgumentNullException | Thrown when settings is null. |
Remarks
Learn more
- More about file types supported by GroupDocs.Viewer: Document formats supported by GroupDocs.Viewer
- More about GroupDocs.Viewer for .NET features: Developer Guide
See Also
- class ViewerSettings
- class Viewer
- namespace GroupDocs.Viewer
- assembly GroupDocs.Viewer
Viewer(Func<Stream>, Func<LoadOptions>, ViewerSettings)
Initializes new instance of Viewer
class.
public Viewer(Func<Stream> getFileStream, Func<LoadOptions> getLoadOptions, ViewerSettings settings)
Parameter | Type | Description |
---|---|---|
getFileStream | Func`1 | The method that returns readable stream. |
getLoadOptions | Func`1 | The methods that returns document load options. |
settings | ViewerSettings | The Viewer settings. |
Exceptions
exception | condition |
---|---|
ArgumentNullException | Thrown when getFileStream is null. |
ArgumentNullException | Thrown when getLoadOptions is null. |
ArgumentNullException | Thrown when settings is null. |
Remarks
Learn more
- More about file types supported by GroupDocs.Viewer: Document formats supported by GroupDocs.Viewer
- More about GroupDocs.Viewer for .NET features: Developer Guide
- More about loading encrypted documents and viewing files from third-party storages with GroupDocs.Viewer for .NET: How to load and view document with GroupDocs.Viewer
See Also
- class LoadOptions
- class ViewerSettings
- class Viewer
- namespace GroupDocs.Viewer
- assembly GroupDocs.Viewer
Viewer(Stream)
Initializes new instance of Viewer
class.
public Viewer(Stream stream)
Parameter | Type | Description |
---|---|---|
stream | Stream | The file stream. |
Exceptions
exception | condition |
---|---|
ArgumentNullException | Thrown when stream is null. |
Remarks
Learn more
- More about file types supported by GroupDocs.Viewer: Document formats supported by GroupDocs.Viewer
- More about GroupDocs.Viewer for .NET features: Developer Guide
See Also
- class Viewer
- namespace GroupDocs.Viewer
- assembly GroupDocs.Viewer
Viewer(Stream, bool)
Initializes new instance of Viewer
class.
public Viewer(Stream stream, bool leaveOpen)
Parameter | Type | Description |
---|---|---|
stream | Stream | The file stream. |
leaveOpen | Boolean | true to leave the stream open after the Viewer object is disposed; otherwise, false. |
Exceptions
exception | condition |
---|---|
ArgumentNullException | Thrown when stream is null. |
Remarks
Learn more
- More about file types supported by GroupDocs.Viewer: Document formats supported by GroupDocs.Viewer
- More about GroupDocs.Viewer for .NET features: Developer Guide
See Also
- class Viewer
- namespace GroupDocs.Viewer
- assembly GroupDocs.Viewer
Viewer(Stream, LoadOptions)
Initializes new instance of Viewer
class.
public Viewer(Stream stream, LoadOptions loadOptions)
Parameter | Type | Description |
---|---|---|
stream | Stream | The file stream. |
loadOptions | LoadOptions | The document load options. |
Exceptions
exception | condition |
---|---|
ArgumentNullException | Thrown when stream is null. |
ArgumentNullException | Thrown when loadOptions is null. |
Remarks
Learn more
- More about file types supported by GroupDocs.Viewer: Document formats supported by GroupDocs.Viewer
- More about GroupDocs.Viewer for .NET features: Developer Guide
- More about loading encrypted documents and viewing files from third-party storages with GroupDocs.Viewer for .NET: How to load and view document with GroupDocs.Viewer
See Also
- class LoadOptions
- class Viewer
- namespace GroupDocs.Viewer
- assembly GroupDocs.Viewer
Viewer(Stream, LoadOptions, bool)
Initializes new instance of Viewer
class.
public Viewer(Stream stream, LoadOptions loadOptions, bool leaveOpen)
Parameter | Type | Description |
---|---|---|
stream | Stream | The file stream. |
loadOptions | LoadOptions | The document load options. |
leaveOpen | Boolean | true to leave the stream open after the Viewer object is disposed; otherwise, false. |
Exceptions
exception | condition |
---|---|
ArgumentNullException | Thrown when stream is null. |
ArgumentNullException | Thrown when loadOptions is null. |
Remarks
Learn more
- More about file types supported by GroupDocs.Viewer: Document formats supported by GroupDocs.Viewer
- More about GroupDocs.Viewer for .NET features: Developer Guide
- More about loading encrypted documents and viewing files from third-party storages with GroupDocs.Viewer for .NET: How to load and view document with GroupDocs.Viewer
See Also
- class LoadOptions
- class Viewer
- namespace GroupDocs.Viewer
- assembly GroupDocs.Viewer
Viewer(Stream, ViewerSettings)
Initializes new instance of Viewer
class.
public Viewer(Stream stream, ViewerSettings settings)
Parameter | Type | Description |
---|---|---|
stream | Stream | The file stream. |
settings | ViewerSettings | The Viewer settings. |
Exceptions
exception | condition |
---|---|
ArgumentNullException | Thrown when stream is null. |
ArgumentNullException | Thrown when settings is null. |
Remarks
Learn more
- More about file types supported by GroupDocs.Viewer: Document formats supported by GroupDocs.Viewer
- More about GroupDocs.Viewer for .NET features: Developer Guide
See Also
- class ViewerSettings
- class Viewer
- namespace GroupDocs.Viewer
- assembly GroupDocs.Viewer
Viewer(Stream, ViewerSettings, bool)
Initializes new instance of Viewer
class.
public Viewer(Stream stream, ViewerSettings settings, bool leaveOpen)
Parameter | Type | Description |
---|---|---|
stream | Stream | The file stream. |
settings | ViewerSettings | The Viewer settings. |
leaveOpen | Boolean | true to leave the stream open after the Viewer object is disposed; otherwise, false. |
Exceptions
exception | condition |
---|---|
ArgumentNullException | Thrown when stream is null. |
ArgumentNullException | Thrown when settings is null. |
Remarks
Learn more
- More about file types supported by GroupDocs.Viewer: Document formats supported by GroupDocs.Viewer
- More about GroupDocs.Viewer for .NET features: Developer Guide
See Also
- class ViewerSettings
- class Viewer
- namespace GroupDocs.Viewer
- assembly GroupDocs.Viewer
Viewer(Stream, LoadOptions, ViewerSettings)
Initializes new instance of Viewer
class.
public Viewer(Stream stream, LoadOptions loadOptions, ViewerSettings settings)
Parameter | Type | Description |
---|---|---|
stream | Stream | The file stream. |
loadOptions | LoadOptions | The document load options. |
settings | ViewerSettings | The Viewer settings. |
Exceptions
exception | condition |
---|---|
ArgumentNullException | Thrown when stream is null. |
ArgumentNullException | Thrown when loadOptions is null. |
ArgumentNullException | Thrown when settings is null. |
Remarks
Learn more
- More about file types supported by GroupDocs.Viewer: Document formats supported by GroupDocs.Viewer
- More about GroupDocs.Viewer for .NET features: Developer Guide
- More about loading encrypted documents and viewing files from third-party storages with GroupDocs.Viewer for .NET: How to load and view document with GroupDocs.Viewer
See Also
- class LoadOptions
- class ViewerSettings
- class Viewer
- namespace GroupDocs.Viewer
- assembly GroupDocs.Viewer
Viewer(Stream, LoadOptions, ViewerSettings, bool)
Initializes new instance of Viewer
class.
public Viewer(Stream stream, LoadOptions loadOptions, ViewerSettings settings, bool leaveOpen)
Parameter | Type | Description |
---|---|---|
stream | Stream | The file stream. |
loadOptions | LoadOptions | The document load options. |
settings | ViewerSettings | The Viewer settings. |
leaveOpen | Boolean | true to leave the stream open after the Viewer object is disposed; otherwise, false. |
Exceptions
exception | condition |
---|---|
ArgumentNullException | Thrown when stream is null. |
ArgumentNullException | Thrown when loadOptions is null. |
ArgumentNullException | Thrown when settings is null. |
Remarks
Learn more
- More about file types supported by GroupDocs.Viewer: Document formats supported by GroupDocs.Viewer
- More about GroupDocs.Viewer for .NET features: Developer Guide
- More about loading encrypted documents and viewing files from third-party storages with GroupDocs.Viewer for .NET: How to load and view document with GroupDocs.Viewer
See Also
- class LoadOptions
- class ViewerSettings
- class Viewer
- namespace GroupDocs.Viewer
- assembly GroupDocs.Viewer
Viewer(string)
Initializes new instance of Viewer
class.
public Viewer(string filePath)
Parameter | Type | Description |
---|---|---|
filePath | String | The path to the file to render. |
Exceptions
exception | condition |
---|---|
ArgumentException | Thrown when filePath is null or empty. |
Remarks
Learn more
- More about file types supported by GroupDocs.Viewer: Document formats supported by GroupDocs.Viewer
- More about GroupDocs.Viewer for .NET features: Developer Guide
See Also
- class Viewer
- namespace GroupDocs.Viewer
- assembly GroupDocs.Viewer
Viewer(string, ViewerSettings)
Initializes new instance of Viewer
class.
public Viewer(string filePath, ViewerSettings settings)
Parameter | Type | Description |
---|---|---|
filePath | String | The path to the file to render. |
settings | ViewerSettings | The Viewer settings. |
Exceptions
exception | condition |
---|---|
ArgumentException | Thrown when filePath is null or empty. |
ArgumentNullException | Thrown when settings is null. |
Remarks
Learn more
- More about file types supported by GroupDocs.Viewer: Document formats supported by GroupDocs.Viewer
- More about GroupDocs.Viewer for .NET features: Developer Guide
See Also
- class ViewerSettings
- class Viewer
- namespace GroupDocs.Viewer
- assembly GroupDocs.Viewer
Viewer(string, LoadOptions)
Initializes new instance of Viewer
class.
public Viewer(string filePath, LoadOptions loadOptions)
Parameter | Type | Description |
---|---|---|
filePath | String | The path to the file to render. |
loadOptions | LoadOptions | The options that used to open the file. |
Exceptions
exception | condition |
---|---|
ArgumentException | Thrown when filePath is null or empty. |
ArgumentNullException | Thrown when loadOptions is null. |
Remarks
Learn more
- More about file types supported by GroupDocs.Viewer: Document formats supported by GroupDocs.Viewer
- More about GroupDocs.Viewer for .NET features: Developer Guide
- More about loading encrypted documents and viewing files from third-party storages with GroupDocs.Viewer for .NET: How to load and view document with GroupDocs.Viewer
See Also
- class LoadOptions
- class Viewer
- namespace GroupDocs.Viewer
- assembly GroupDocs.Viewer
Viewer(string, LoadOptions, ViewerSettings)
Initializes new instance of Viewer
class.
public Viewer(string filePath, LoadOptions loadOptions, ViewerSettings settings)
Parameter | Type | Description |
---|---|---|
filePath | String | The path to the file to render. |
loadOptions | LoadOptions | The options that used to open the file. |
settings | ViewerSettings | The Viewer settings. |
Exceptions
exception | condition |
---|---|
ArgumentException | Thrown when filePath is null or empty. |
ArgumentNullException | Thrown when loadOptions is null. |
ArgumentNullException | Thrown when settings is null. |
Remarks
Learn more
- More about file types supported by GroupDocs.Viewer: Document formats supported by GroupDocs.Viewer
- More about GroupDocs.Viewer for .NET features: Developer Guide
- More about loading encrypted documents and viewing files from third-party storages with GroupDocs.Viewer for .NET: How to load and view document with GroupDocs.Viewer
See Also
- class LoadOptions
- class ViewerSettings
- class Viewer
- namespace GroupDocs.Viewer
- assembly GroupDocs.Viewer