[]
        
(Showing Draft Content)

GrapeCity.Documents.Html.Margins

Class Margins

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

Represents page margins.

[Obsolete("Use GcHtmlBrowser with PdfOptions and PdfMargins instead.")]
public class Margins
Inheritance
object
Margins
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()

Constructors

Margins()

Initializes a new instance of Margins.

public Margins()

Margins(float, float, float, float)

Initializes a new instance of Margins.

public Margins(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.

Margins(float, float)

Initializes a new instance of Margins.

public Margins(float leftRight, float topBottom)

Parameters

leftRight float

Left and right margins, in inches.

topBottom float

Top and bottom margins, in inches.

Margins(float)

Initializes a new instance of Margins.

public Margins(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