Table of Contents

Class PrintToPDFCommandSettings

Namespace
OpenQA.Selenium.DevTools.V131.Page
Assembly
WebDriver.dll

PrintToPDF

public sealed class PrintToPDFCommandSettings : ICommand
Inheritance
PrintToPDFCommandSettings
Implements
Inherited Members

Properties

CommandName

Gets the name of the command.

[JsonIgnore]
public string CommandName { get; }

Property Value

string

DisplayHeaderFooter

Gets or sets the displayHeaderFooter

[JsonPropertyName("displayHeaderFooter")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public bool? DisplayHeaderFooter { get; set; }

Property Value

bool?

FooterTemplate

Gets or sets the footerTemplate

[JsonPropertyName("footerTemplate")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string FooterTemplate { get; set; }

Property Value

string

GenerateDocumentOutline

Gets or sets the generateDocumentOutline

[JsonPropertyName("generateDocumentOutline")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public bool? GenerateDocumentOutline { get; set; }

Property Value

bool?

GenerateTaggedPDF

Gets or sets the generateTaggedPDF

[JsonPropertyName("generateTaggedPDF")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public bool? GenerateTaggedPDF { get; set; }

Property Value

bool?

HeaderTemplate

Gets or sets the headerTemplate

[JsonPropertyName("headerTemplate")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string HeaderTemplate { get; set; }

Property Value

string

Landscape

Gets or sets the landscape

[JsonPropertyName("landscape")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public bool? Landscape { get; set; }

Property Value

bool?

MarginBottom

Gets or sets the marginBottom

[JsonPropertyName("marginBottom")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public double? MarginBottom { get; set; }

Property Value

double?

MarginLeft

Gets or sets the marginLeft

[JsonPropertyName("marginLeft")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public double? MarginLeft { get; set; }

Property Value

double?

MarginRight

Gets or sets the marginRight

[JsonPropertyName("marginRight")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public double? MarginRight { get; set; }

Property Value

double?

MarginTop

Gets or sets the marginTop

[JsonPropertyName("marginTop")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public double? MarginTop { get; set; }

Property Value

double?

PageRanges

Gets or sets the pageRanges

[JsonPropertyName("pageRanges")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string PageRanges { get; set; }

Property Value

string

PaperHeight

Gets or sets the paperHeight

[JsonPropertyName("paperHeight")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public double? PaperHeight { get; set; }

Property Value

double?

PaperWidth

Gets or sets the paperWidth

[JsonPropertyName("paperWidth")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public double? PaperWidth { get; set; }

Property Value

double?

PreferCSSPageSize

Gets or sets the preferCSSPageSize

[JsonPropertyName("preferCSSPageSize")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public bool? PreferCSSPageSize { get; set; }

Property Value

bool?

PrintBackground

Gets or sets the printBackground

[JsonPropertyName("printBackground")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public bool? PrintBackground { get; set; }

Property Value

bool?

Scale

Gets or sets the scale

[JsonPropertyName("scale")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public double? Scale { get; set; }

Property Value

double?

TransferMode

Gets or sets the transferMode

[JsonPropertyName("transferMode")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string TransferMode { get; set; }

Property Value

string