CHtmlConverterConvertToPdf Method (FileInfo, FileInfo) |
Converts HTML from a file to PDF and saves to another file
Namespace:
ComPDF.PDFGeneration
Assembly:
ComPDFGeneration (in ComPDFGeneration.dll) Version: 1.0.0+340720369ae98791af8dd72f985ee6534adad5e3
Syntaxpublic static CErrorCode ConvertToPdf(
FileInfo htmlFile,
FileInfo pdfFile
)
Parameters
- htmlFile
- Type: System.IOFileInfo
FileInfo object representing the HTML source file - pdfFile
- Type: System.IOFileInfo
FileInfo object representing the destination PDF file
Return Value
Type:
CErrorCodeError code indicating the result of the operation
See Also