class Playwright::Page::PdfOptions

Included Modules

Defined in:

playwright/page.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]
def self.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) #

[View source]

Instance Method Detail

def display_header_footer : Bool? #

[View source]
def display_header_footer=(display_header_footer : Bool?) #

[View source]
def footer_template : String? #

[View source]
def footer_template=(footer_template : String?) #

[View source]
def format : String? #

[View source]
def format=(format : String?) #

[View source]
def header_template : String? #

[View source]
def header_template=(header_template : String?) #

[View source]
def height : String? #

[View source]
def height=(height : String?) #

[View source]
def landscape : Bool? #

[View source]
def landscape=(landscape : Bool?) #

[View source]
def margin : Margin? #

[View source]
def margin=(margin : Margin?) #

[View source]
def page_ranges : String? #

[View source]
def page_ranges=(page_ranges : String?) #

[View source]
def path : Path? #

[View source]
def path=(path : Path?) #

[View source]
def prefer_css_page_size : Bool? #

[View source]
def prefer_css_page_size=(prefer_css_page_size : Bool?) #

[View source]
def print_background : Bool? #

[View source]
def print_background=(print_background : Bool?) #

[View source]
def scale : Int32? #

[View source]
def scale=(scale : Int32?) #

[View source]
def width : String? #

[View source]
def width=(width : String?) #

[View source]