HtmlViewOptionsForEmbeddedResources Method (CreatePageStream, ReleasePageStream)
Initializes new instance of HtmlViewOptions class for rendering into HTML with embedded resources.

Namespace: GroupDocs.Viewer.Options
Assembly: GroupDocs.Viewer (in GroupDocs.Viewer.dll) Version: 20.5
Syntax
public static HtmlViewOptions ForEmbeddedResources(
	CreatePageStream createPageStream,
	ReleasePageStream releasePageStream
)

Parameters

createPageStream
Type: GroupDocs.Viewer.InterfacesCreatePageStream
The method that instantiates stream used to write output page data.
releasePageStream
Type: GroupDocs.Viewer.InterfacesReleasePageStream
The method that releases stream created by method assigned to delegate that passed to createPageStream parameter.

Return Value

Type: HtmlViewOptions
New instance of HtmlViewOptions class for rendering into HTML with embedded resources.
Exceptions
ExceptionCondition
ArgumentNullExceptionThrown when createPageStream is null.
ArgumentNullExceptionThrown when releasePageStream is null.
See Also