CHtmlConverterConvertToPdf Method (String, String) |
Converts HTML from a file path to PDF and saves to another file path
Namespace:
ComPDF.PDFGeneration
Assembly:
ComPDFGeneration (in ComPDFGeneration.dll) Version: 1.0.0+340720369ae98791af8dd72f985ee6534adad5e3
Syntaxpublic static CErrorCode ConvertToPdf(
string htmlPath,
string pdfPath
)
Parameters
- htmlPath
- Type: SystemString
Path to the HTML source file - pdfPath
- Type: SystemString
Path to the destination PDF file
Return Value
Type:
CErrorCodeError code indicating the result of the operation
See Also