class Playwright::Page::PdfOptions
- Playwright::Page::PdfOptions
- Reference
- Object
Included Modules
- JSON::Serializable
Defined in:
playwright/page.crConstructors
- .new(pull : JSON::PullParser)
- .new(path = nil, scale = nil, display_header_footer = nil, header_template = nil, footer_template = nil, print_background = nil, landscape = nil, page_ranges = nil, format = nil, width = nil, height = nil, margin = nil, prefer_css_page_size = nil)
Instance Method Summary
- #display_header_footer : Bool?
- #display_header_footer=(display_header_footer : Bool?)
- #footer_template : String?
- #footer_template=(footer_template : String?)
- #format : String?
- #format=(format : String?)
- #header_template : String?
- #header_template=(header_template : String?)
- #height : String?
- #height=(height : String?)
- #landscape : Bool?
- #landscape=(landscape : Bool?)
- #margin : Margin?
- #margin=(margin : Margin?)
- #page_ranges : String?
- #page_ranges=(page_ranges : String?)
- #path : Path?
- #path=(path : Path?)
- #prefer_css_page_size : Bool?
- #prefer_css_page_size=(prefer_css_page_size : Bool?)
- #print_background : Bool?
- #print_background=(print_background : Bool?)
- #scale : Int32?
- #scale=(scale : Int32?)
- #width : String?
- #width=(width : String?)