This method produces a image from the specified HTML string in the specified format using a base URL to resolve the external resources
and saves the image in the specified disk file. The existing file will be overwritten
Namespace: EvoPdfAssembly: evohtmltopdf (in evohtmltopdf.dll) Version: 4.12.0.0
Syntax
| C# |
|---|
public void SaveImageFromHtmlStringToFile(
string htmlString,
ImageFormat format,
string outFile,
string urlBase
) |
| Visual Basic |
|---|
Public Sub SaveImageFromHtmlStringToFile (
htmlString As String,
format As ImageFormat,
outFile As String,
urlBase As String
) |
| Visual C++ |
|---|
public:
void SaveImageFromHtmlStringToFile(
String^ htmlString,
ImageFormat^ format,
String^ outFile,
String^ urlBase
) |
See Also