Method | Description | |
---|---|---|
Convert ( string wkhtmltopdfPath, string switches ) : byte[] |
Converts given URL to PDF.
|
|
ConvertHtml ( string wkhtmltopdfPath, string switches, string html ) : byte[] |
Converts given HTML string to PDF.
|
Method | Description | |
---|---|---|
Convert ( string wkhtmltopdfPath, string switches, string html ) : byte[] |
Converts given URL or HTML string to PDF.
|
public static Convert ( string wkhtmltopdfPath, string switches ) : byte[] | ||
wkhtmltopdfPath | string | Path to wkthmltopdf. |
switches | string | Switches that will be passed to wkhtmltopdf binary. |
return | byte[] |
public static ConvertHtml ( string wkhtmltopdfPath, string switches, string html ) : byte[] | ||
wkhtmltopdfPath | string | Path to wkthmltopdf. |
switches | string | Switches that will be passed to wkhtmltopdf binary. |
html | string | String containing HTML code that should be converted to PDF. |
return | byte[] |