for_embedded_resources method
Contents
[
Hide
]
for_embedded_resources
Initializes an instance of the HtmlViewOptions class.
def for_embedded_resources(self):
...
for_embedded_resources
Initializes an instance of the HtmlViewOptions class for rendering into HTML with embedded resources.
Returns
New instance of the HtmlViewOptions class for rendering into HTML with embedded resources.
def for_embedded_resources(self, page_stream_factory):
...
| Parameter | Type | Description |
|---|---|---|
| page_stream_factory | groupdocs.viewer.interfaces.IPageStreamFactory | The factory which implements methods for creating and releasing output page stream. |
Exceptions
| Exception | Description |
|---|---|
| ArgumentNullException | Thrown when page_stream_factory is null. |
for_embedded_resources
Initializes an instance of the HtmlViewOptions class.
def for_embedded_resources(self, file_path_format):
...
| Parameter | Type | Description |
|---|---|---|
| file_path_format | System.String | The file path format e.g. ‘page_{0}.html’. |
Exceptions
| Exception | Description |
|---|---|
| ArgumentException | Thrown when file_path_format is null or empty. |
See Also
- module
groupdocs.viewer.options - class
HtmlViewOptions