메소드 | 설명 | |
---|---|---|
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.
|
메소드 | 설명 | |
---|---|---|
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. |
리턴 | 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. |
리턴 | byte[] |