HtmlViewOptionsForExternalResources Method (IPageStreamFactory, IResourceStreamFactory)
Initializes new instance of HtmlViewOptions class for rendering into HTML with external resources.

Namespace: GroupDocs.Viewer.Options
Assembly: GroupDocs.Viewer (in GroupDocs.Viewer.dll) Version: 19.12
Syntax
public static HtmlViewOptions ForExternalResources(
	IPageStreamFactory pageStreamFactory,
	IResourceStreamFactory resourceStreamFactory
)

Parameters

pageStreamFactory
Type: GroupDocs.Viewer.InterfacesIPageStreamFactory
The factory which implements methods for creating and releasing output page stream.
resourceStreamFactory
Type: GroupDocs.Viewer.InterfacesIResourceStreamFactory
The factory which implements methods that are required for creating resource URL, instantiating and releasing output HTML resource stream.

Return Value

Type: HtmlViewOptions
New instance of HtmlViewOptions class for rendering into HTML with external resources.
Exceptions
ExceptionCondition
ArgumentNullExceptionThrown when pageStreamFactory is null.
ArgumentNullExceptionThrown when resourceStreamFactory is null.
See Also