[]
        
(Showing Draft Content)

GrapeCity.Documents.Html.Margins.-ctor

Margins Constructor

Margins()

Initializes a new instance of Margins.

Declaration
public Margins()
Public Sub New()

Margins(float)

Initializes a new instance of Margins.

Declaration
public Margins(float uniformMargin)
Public Sub New(uniformMargin As Single)
Parameters
Type Name Description
float uniformMargin

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

Margins(float, float)

Initializes a new instance of Margins.

Declaration
public Margins(float leftRight, float topBottom)
Public Sub New(leftRight As Single, topBottom As Single)
Parameters
Type Name Description
float leftRight

Left and right margins, in inches.

float topBottom

Top and bottom margins, in inches.

Margins(float, float, float, float)

Initializes a new instance of Margins.

Declaration
public Margins(float left, float top, float right, float bottom)
Public Sub New(left As Single, top As Single, right As Single, bottom As Single)
Parameters
Type Name Description
float left

Left margin, in inches.

float top

Top margin, in inches.

float right

Right margin, in inches.

float bottom

Bottom margin, in inches.