[]
Represents page margins in PdfOptions.
public class PdfMargins
Initializes a new instance of PdfMargins.
public PdfMargins()
Initializes a new instance of PdfMargins.
public PdfMargins(float left, float top, float right, float bottom)
left
floatLeft margin, in inches.
top
floatTop margin, in inches.
right
floatRight margin, in inches.
bottom
floatBottom margin, in inches.
Initializes a new instance of PdfMargins.
public PdfMargins(float leftRight, float topBottom)
leftRight
floatLeft and right margins, in inches.
topBottom
floatTop and bottom margins, in inches.
Initializes a new instance of PdfMargins.
public PdfMargins(float uniformMargin)
uniformMargin
floatThe uniform margin applied to left, top, right, and bottom, in inches.
Gets or sets the bottom margin, in inches.
public float Bottom { get; set; }
Gets or sets the left margin, in inches.
public float Left { get; set; }
Gets or sets the right margin, in inches.
public float Right { get; set; }
Gets or sets the top margin, in inches.
public float Top { get; set; }