HtmlViewOptionsForExternalResources Method (String, String, String)
Initializes new instance of HtmlViewOptions class.

Namespace: GroupDocs.Viewer.Options
Assembly: GroupDocs.Viewer (in GroupDocs.Viewer.dll) Version: 20.6.1
Syntax
public static HtmlViewOptions ForExternalResources(
	string filePathFormat,
	string resourceFilePathFormat,
	string resourceUrlFormat
)

Parameters

filePathFormat
Type: SystemString
The file path format e.g. 'page_{0}.html'.
resourceFilePathFormat
Type: SystemString
The resource file path format e.g. 'page_{0}/resource_{1}'.
resourceUrlFormat
Type: SystemString
The resource URL format e.g. 'page_{0}/resource_{1}'.

Return Value

Type: HtmlViewOptions
Exceptions
ExceptionCondition
ArgumentExceptionThrown when filePathFormat is null or empty.
ArgumentExceptionThrown when resourceFilePathFormat is null or empty.
ArgumentExceptionThrown when resourceUrlFormat is null or empty.
See Also