class Wkhtmltopdf::WkPdf
- Wkhtmltopdf::WkPdf
- Reference
- Object
Defined in:
wkhtmltopdf/wk_pdf.crConstructors
-
.new(path = "")
Prepare the structure
Instance Method Summary
- #buffer : Slice(UInt8)?
-
#convert(html = nil)
Start convertion - if
html
is omitted (nil) a URL to fetch is required -
#object_setting(key : String, value : String)
Pdf object settings - see pagePdfObject
-
#set(key : String, value : String)
Pdf global settings - see pagePdfGlobal
-
#set_output(path : String)
Set output path
-
#set_url(url : String)
Set URL to fetch content from