PDFsharp-net6

TrimMargins

Namespace: PdfSharp.Pdf

Represents trim margins added to the page.

public sealed class TrimMargins

Inheritance ObjectTrimMargins

Properties

All

Sets all four crop margins simultaneously.

public XUnit All { set; }

Property Value

XUnit

Left

Gets or sets the left crop margin.

public XUnit Left { get; set; }

Property Value

XUnit

Gets or sets the right crop margin.

public XUnit Right { get; set; }

Property Value

XUnit

Top

Gets or sets the top crop margin.

public XUnit Top { get; set; }

Property Value

XUnit

Bottom

Gets or sets the bottom crop margin.

public XUnit Bottom { get; set; }

Property Value

XUnit

AreSet

Gets a value indicating whether this instance has at least one margin with a value other than zero.

public bool AreSet { get; }

Property Value

Boolean

Constructors

TrimMargins()

public TrimMargins()