Converts a HTML string to PDF using a base URL and an internal links base URL and saves the rendered PDF document into a file.
This method is still present in the API to maintain the backward compatibility and it will be replaced
by ConvertHtmlToFile(String, String, String, String) method in the future versions
Namespace: EvoPdf
Assembly: evohtmltopdf (in evohtmltopdf.dll) Version: 10.0.0.0
Syntax
public void SavePdfFromHtmlStringToFile( string htmlString, string outFile, string baseUrl, string internalLinksBaseUrl )
Parameters
- htmlString
- Type: SystemString
The HTML string to convert - outFile
- Type: SystemString
The output PDF file - baseUrl
- Type: SystemString
The base URL - internalLinksBaseUrl
- Type: SystemString
The internal links base URL
See Also