HtmlViewOptionsForExternalResources Method (String, String, String) |
Namespace: GroupDocs.Viewer.OptionsAssembly: GroupDocs.Viewer (in GroupDocs.Viewer.dll) Version: 22.7
Syntaxpublic static HtmlViewOptions ForExternalResources(
string filePathFormat,
string resourceFilePathFormat,
string resourceUrlFormat
)
Public Shared Function ForExternalResources (
filePathFormat As String,
resourceFilePathFormat As String,
resourceUrlFormat As String
) As HtmlViewOptions
public:
static HtmlViewOptions^ ForExternalResources(
String^ filePathFormat,
String^ resourceFilePathFormat,
String^ resourceUrlFormat
)
static member ForExternalResources :
filePathFormat : string *
resourceFilePathFormat : string *
resourceUrlFormat : string -> HtmlViewOptions
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
ExceptionsException | Condition |
---|
ArgumentException | Thrown when filePathFormat is null or empty. |
ArgumentException | Thrown when resourceFilePathFormat is null or empty. |
ArgumentException | Thrown when resourceUrlFormat is null or empty. |
See Also