CHtmlConverterHtmlStrRenderTemplate Method |
Renders an HTML template with JSON data
Namespace:
ComPDF.PDFGeneration
Assembly:
ComPDFGeneration (in ComPDFGeneration.dll) Version: 1.0.0+340720369ae98791af8dd72f985ee6534adad5e3
Syntaxpublic static CErrorCode HtmlStrRenderTemplate(
string htmlContent,
string jsonContent,
ref string renderHtmlContent
)
Parameters
- htmlContent
- Type: SystemString
HTML template content - jsonContent
- Type: SystemString
JSON data to populate the template - renderHtmlContent
- Type: SystemString
Output parameter for the rendered HTML content
Return Value
Type:
CErrorCodeError code indicating the result of the operation
See Also