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
Left
Left margin, accepts values labeled with units.
[JsonConverter(typeof(PrimitiveTypeConverter))]
public object Left { get; set; }
Property Value
Right
Right margin, accepts values labeled with units.
[JsonConverter(typeof(PrimitiveTypeConverter))]
public object Right { get; set; }
Property Value
Top
Top margin, accepts values labeled with units.
[JsonConverter(typeof(PrimitiveTypeConverter))]
public object Top { get; set; }