Table of Contents

Class TrimMargins

Namespace
PdfSharp.Pdf
Assembly
PdfSharp.dll

Represents trim margins added to the page.

public sealed class TrimMargins
Inheritance
TrimMargins
Inherited Members

Constructors

TrimMargins()

public TrimMargins()

Properties

All

Sets all four crop margins simultaneously.

public XUnit All { 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

bool

Bottom

Gets or sets the bottom crop margin.

public XUnit Bottom { get; set; }

Property Value

XUnit

Left

Gets or sets the left crop margin.

public XUnit Left { get; set; }

Property Value

XUnit

Right

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