Table of Contents

Class MarginOptions

Namespace
PuppeteerSharp.Media
Assembly
PuppeteerSharp.dll

margin options used in PdfOptions.

public record MarginOptions : IEquatable<MarginOptions>
Inheritance
MarginOptions
Implements

Constructors

MarginOptions()

Initializes a new instance of the MarginOptions class.

public MarginOptions()

Properties

Bottom

Bottom margin, accepts values labeled with units.

[JsonConverter(typeof(PrimitiveTypeConverter))]
public object Bottom { get; set; }

Property Value

object

Left

Left margin, accepts values labeled with units.

[JsonConverter(typeof(PrimitiveTypeConverter))]
public object Left { get; set; }

Property Value

object

Right

Right margin, accepts values labeled with units.

[JsonConverter(typeof(PrimitiveTypeConverter))]
public object Right { get; set; }

Property Value

object

Top

Top margin, accepts values labeled with units.

[JsonConverter(typeof(PrimitiveTypeConverter))]
public object Top { get; set; }

Property Value

object