[]
        
(Showing Draft Content)

GrapeCity.Documents.Html.PdfMargins

Class PdfMargins

Namespace
GrapeCity.Documents.Html
Assembly
GcDocs.Html.dll

Represents page margins in PdfOptions.

public class PdfMargins
Inheritance
object
PdfMargins
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()

Constructors

PdfMargins()

Initializes a new instance of PdfMargins.

public PdfMargins()

PdfMargins(float, float, float, float)

Initializes a new instance of PdfMargins.

public PdfMargins(float left, float top, float right, float bottom)

Parameters

left float

Left margin, in inches.

top float

Top margin, in inches.

right float

Right margin, in inches.

bottom float

Bottom margin, in inches.

PdfMargins(float, float)

Initializes a new instance of PdfMargins.

public PdfMargins(float leftRight, float topBottom)

Parameters

leftRight float

Left and right margins, in inches.

topBottom float

Top and bottom margins, in inches.

PdfMargins(float)

Initializes a new instance of PdfMargins.

public PdfMargins(float uniformMargin)

Parameters

uniformMargin float

The uniform margin applied to left, top, right, and bottom, in inches.

Properties

Bottom

Gets or sets the bottom margin, in inches.

public float Bottom { get; set; }

Property Value

float

Left

Gets or sets the left margin, in inches.

public float Left { get; set; }

Property Value

float

Right

Gets or sets the right margin, in inches.

public float Right { get; set; }

Property Value

float

Top

Gets or sets the top margin, in inches.

public float Top { get; set; }

Property Value

float