C# 클래스 Rotativa.WkhtmltopdfDriver

상속: Rotativa.WkhtmlDriver
파일 보기 프로젝트 열기: scoorf/Rotativa 1 사용 예제들

공개 메소드들

메소드 설명
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.

메소드 상세

Convert() 공개 정적인 메소드

Converts given URL 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[]

ConvertHtml() 공개 정적인 메소드

Converts given HTML string to PDF.
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[]