CHtmlConverterRenderAndConvertToPdf Method (String, String, String, CConverterProperties) |
Renders HTML template with JSON data from file paths and converts the result to PDF
Namespace:
ComPDF.PDFGeneration
Assembly:
ComPDFGeneration (in ComPDFGeneration.dll) Version: 1.0.0+340720369ae98791af8dd72f985ee6534adad5e3
Syntaxpublic static CErrorCode RenderAndConvertToPdf(
string htmlPath,
string jsonPath,
string pdfPath,
CConverterProperties properties
)
Parameters
- htmlPath
- Type: SystemString
Path to the HTML template file - jsonPath
- Type: SystemString
Path to the JSON data file - pdfPath
- Type: SystemString
Path to the destination PDF file - properties
- Type: ComPDF.PDFGenerationCConverterProperties
Conversion properties (optional)
Return Value
Type:
CErrorCodeError code indicating the result of the operation
See Also