Table of Contents

Class Margin

Namespace
Microsoft.Playwright
Assembly
Microsoft.Playwright.dll
public class Margin
Inheritance
Margin
Inherited Members

Constructors

Margin()

public Margin()

Properties

Bottom

Bottom margin, accepts values labeled with units. Defaults to 0.

[JsonPropertyName("bottom")]
public string? Bottom { get; set; }

Property Value

string

Left

Left margin, accepts values labeled with units. Defaults to 0.

[JsonPropertyName("left")]
public string? Left { get; set; }

Property Value

string

Right

Right margin, accepts values labeled with units. Defaults to 0.

[JsonPropertyName("right")]
public string? Right { get; set; }

Property Value

string

Top

Top margin, accepts values labeled with units. Defaults to 0.

[JsonPropertyName("top")]
public string? Top { get; set; }

Property Value

string