ForEmbeddedResources
Leave feedback
On this page
Initializes an instance of the HtmlViewOptions class for rendering into HTML with embedded resources.
public static HtmlViewOptions ForEmbeddedResources(CreatePageStream createPageStream)
| Parameter | Type | Description |
|---|---|---|
| createPageStream | CreatePageStream | The method that instantiates stream used to write output page data. |
New instance of the HtmlViewOptions class for rendering into HTML with embedded resources.
| exception | condition |
|---|---|
| ArgumentNullException | Thrown when createPageStream is null. |
For the code example, see the documentation.
- delegate CreatePageStream
- class HtmlViewOptions
- namespace GroupDocs.Viewer.Options
- assembly GroupDocs.Viewer
Initializes an instance of the HtmlViewOptions class for rendering into HTML with embedded resources.
public static HtmlViewOptions ForEmbeddedResources(CreatePageStream createPageStream,
ReleasePageStream releasePageStream)
| Parameter | Type | Description |
|---|---|---|
| createPageStream | CreatePageStream | The method that instantiates stream used to write output page data. |
| releasePageStream | ReleasePageStream | The method that releases stream created by method assigned to delegate that passed to createPageStream parameter. |
New instance of the HtmlViewOptions class for rendering into HTML with embedded resources.
| exception | condition |
|---|---|
| ArgumentNullException | Thrown when createPageStream is null. |
| ArgumentNullException | Thrown when releasePageStream is null. |
For the code example, see the documentation.
- delegate CreatePageStream
- delegate ReleasePageStream
- class HtmlViewOptions
- namespace GroupDocs.Viewer.Options
- assembly GroupDocs.Viewer
Initializes an instance of the HtmlViewOptions class for rendering into HTML with embedded resources.
public static HtmlViewOptions ForEmbeddedResources(IPageStreamFactory pageStreamFactory)
| Parameter | Type | Description |
|---|---|---|
| pageStreamFactory | IPageStreamFactory | The factory which implements methods for creating and releasing output page stream. |
New instance of the HtmlViewOptions class for rendering into HTML with embedded resources.
| exception | condition |
|---|---|
| ArgumentNullException | Thrown when pageStreamFactory is null. |
For the code example, see the documentation.
- interface IPageStreamFactory
- class HtmlViewOptions
- namespace GroupDocs.Viewer.Options
- assembly GroupDocs.Viewer
Initializes an instance of the HtmlViewOptions class.
public static HtmlViewOptions ForEmbeddedResources()
For the code example, see the documentation.
- class HtmlViewOptions
- namespace GroupDocs.Viewer.Options
- assembly GroupDocs.Viewer
Initializes an instance of the HtmlViewOptions class.
public static HtmlViewOptions ForEmbeddedResources(string filePathFormat)
| Parameter | Type | Description |
|---|---|---|
| filePathFormat | String | The file path format e.g. ‘page_{0}.html’. |
| exception | condition |
|---|---|
| ArgumentException | Thrown when filePathFormat is null or empty. |
For the code example, see the documentation.
- class HtmlViewOptions
- namespace GroupDocs.Viewer.Options
- 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.