Converter.ConvertTemplate

ConvertTemplate(HTMLDocumentTemplateDataTemplateLoadOptions, string)

Merge html template with user data. Result is html file.

public static void ConvertTemplate(HTMLDocument template, TemplateData data, 
    TemplateLoadOptions options, string outputPath)
ParameterTypeDescription
templateHTMLDocumentSource skeleton html doc.
dataTemplateDataData for merging (XML, JSON).
optionsTemplateLoadOptionsMerging options object.
outputPathStringOutput file path.

See Also


ConvertTemplate(UrlTemplateDataTemplateLoadOptions, string)

Merge html template with user data. Result is html file.

public static void ConvertTemplate(Url url, TemplateData data, TemplateLoadOptions options, 
    string outputPath)
ParameterTypeDescription
urlUrlTemplate source document URL.
dataTemplateDataData for merging (XML, JSON).
optionsTemplateLoadOptionsMerging options object.
outputPathStringOutput file path.

See Also


ConvertTemplate(UrlConfigurationTemplateDataTemplateLoadOptions, string)

Merge html template with user data. Result is html file.

public static void ConvertTemplate(Url url, Configuration configuration, TemplateData data, 
    TemplateLoadOptions options, string outputPath)
ParameterTypeDescription
urlUrlTemplate source document URL.
configurationConfigurationThe environment configuration.
dataTemplateDataData for merging (XML, JSON).
optionsTemplateLoadOptionsMerging options object.
outputPathStringOutput file path.

See Also


ConvertTemplate(string, TemplateDataTemplateLoadOptions, string)

Merge html template with user data. Result is html file.

public static void ConvertTemplate(string sourcePath, TemplateData data, 
    TemplateLoadOptions options, string outputPath)
ParameterTypeDescription
sourcePathStringPath to template source html file. It will be combined with the current directory path to form an absolute URL.
dataTemplateDataData for merging (XML, JSON).
optionsTemplateLoadOptionsMerging options object.
outputPathStringOutput file path.

See Also


ConvertTemplate(string, ConfigurationTemplateDataTemplateLoadOptions, string)

Merge html template with user data. Result is html file.

public static void ConvertTemplate(string sourcePath, Configuration configuration, 
    TemplateData data, TemplateLoadOptions options, string outputPath)
ParameterTypeDescription
sourcePathStringPath to template source html file. It will be combined with the current directory path to form an absolute URL.
configurationConfigurationThe environment configuration.
dataTemplateDataData for merging (XML, JSON).
optionsTemplateLoadOptionsMerging options object.
outputPathStringOutput file path.

See Also


ConvertTemplate(string, string, TemplateDataTemplateLoadOptions, string)

Merge html template with user data. Result is html file.

public static void ConvertTemplate(string content, string baseUrl, TemplateData data, 
    TemplateLoadOptions options, string outputPath)
ParameterTypeDescription
contentStringInline html template - skeleton.
baseUrlStringBase URI of the html template. It will be combined with the current directory path to form an absolute URL.
dataTemplateDataData for merging (XML, JSON).
optionsTemplateLoadOptionsMerging options object.
outputPathStringOutput file path.

See Also


ConvertTemplate(string, string, ConfigurationTemplateDataTemplateLoadOptions, string)

Merge html template with user data. Result is html file.

public static void ConvertTemplate(string content, string baseUrl, Configuration configuration, 
    TemplateData data, TemplateLoadOptions options, string outputPath)
ParameterTypeDescription
contentStringInline html template - skeleton.
baseUrlStringBase URI of the html template. It will be combined with the current directory path to form an absolute URL.
configurationConfigurationThe environment configuration.
dataTemplateDataData for merging (XML, JSON).
optionsTemplateLoadOptionsMerging options object.
outputPathStringOutput file path.

See Also


ConvertTemplate(HTMLDocumentTemplateDataTemplateLoadOptions)

Merge html template with user data. Result is HTMLDocument.

public static HTMLDocument ConvertTemplate(HTMLDocument template, TemplateData data, 
    TemplateLoadOptions options)
ParameterTypeDescription
templateHTMLDocumentSource skeleton html doc.
dataTemplateDataData for merging (XML, JSON).
optionsTemplateLoadOptionsMerging options object.

Return Value

Conversion result HTMLDocument.

See Also


ConvertTemplate(UrlTemplateDataTemplateLoadOptions)

Merge html template with user data. Result is HTMLDocument.

public static HTMLDocument ConvertTemplate(Url url, TemplateData data, TemplateLoadOptions options)
ParameterTypeDescription
urlUrlTemplate source document URL.
dataTemplateDataData for merging (XML, JSON).
optionsTemplateLoadOptionsMerging options object.

Return Value

Conversion result HTMLDocument.

See Also


ConvertTemplate(UrlConfigurationTemplateDataTemplateLoadOptions)

Merge html template with user data. Result is HTMLDocument.

public static HTMLDocument ConvertTemplate(Url url, Configuration configuration, TemplateData data, 
    TemplateLoadOptions options)
ParameterTypeDescription
urlUrlTemplate source document URL.
configurationConfigurationThe environment configuration.
dataTemplateDataData for merging (XML, JSON).
optionsTemplateLoadOptionsMerging options object.

Return Value

Conversion result HTMLDocument.

See Also


ConvertTemplate(string, TemplateDataTemplateLoadOptions)

Merge html template with user data. Result is HTMLDocument.

public static HTMLDocument ConvertTemplate(string sourcePath, TemplateData data, 
    TemplateLoadOptions options)
ParameterTypeDescription
sourcePathStringPath to template source html file. It will be combined with the current directory path to form an absolute URL.
dataTemplateDataData for merging (XML, JSON).
optionsTemplateLoadOptionsMerging options object.

Return Value

Conversion result HTMLDocument.

See Also


ConvertTemplate(string, ConfigurationTemplateDataTemplateLoadOptions)

Merge html template with user data. Result is HTMLDocument.

public static HTMLDocument ConvertTemplate(string sourcePath, Configuration configuration, 
    TemplateData data, TemplateLoadOptions options)
ParameterTypeDescription
sourcePathStringPath to template source html file. It will be combined with the current directory path to form an absolute URL.
configurationConfigurationThe environment configuration.
dataTemplateDataData for merging (XML, JSON).
optionsTemplateLoadOptionsMerging options object.

Return Value

Conversion result HTMLDocument.

See Also


ConvertTemplate(string, string, TemplateDataTemplateLoadOptions)

Merge html template with user data. Result is HTMLDocument.

public static HTMLDocument ConvertTemplate(string content, string baseUrl, TemplateData data, 
    TemplateLoadOptions options)
ParameterTypeDescription
contentStringInline html template - skeleton.
baseUrlStringBase URI of the html template. It will be combined with the current directory path to form an absolute URL.
dataTemplateDataData for merging (XML, JSON).
optionsTemplateLoadOptionsMerging options object.

Return Value

Conversion result HTMLDocument.

See Also


ConvertTemplate(string, string, ConfigurationTemplateDataTemplateLoadOptions)

Merge html template with user data. Result is HTMLDocument.

public static HTMLDocument ConvertTemplate(string content, string baseUrl, 
    Configuration configuration, TemplateData data, TemplateLoadOptions options)
ParameterTypeDescription
contentStringInline html template - skeleton.
baseUrlStringBase URI of the html template. It will be combined with the current directory path to form an absolute URL.
configurationConfigurationThe environment configuration.
dataTemplateDataData for merging (XML, JSON).
optionsTemplateLoadOptionsMerging options object.

Return Value

Conversion result HTMLDocument.

See Also