[]
Represents page margins.
[Obsolete("Use GcHtmlBrowser with PdfOptions and PdfMargins instead.")]
public class Margins
Initializes a new instance of Margins.
public Margins()
Initializes a new instance of Margins.
public Margins(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 Margins.
public Margins(float leftRight, float topBottom)
leftRight
floatLeft and right margins, in inches.
topBottom
floatTop and bottom margins, in inches.
Initializes a new instance of Margins.
public Margins(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; }