[]
        
(Showing Draft Content)

GrapeCity.ActiveReports.Document.Section.Margins.-ctor

Margins Constructor

Margins()

Initializes a new instance of the Margins class.

Declaration
public Margins()

Margins(float, float, float, float)

Initializes a new instance of the Margins class.

Declaration
public Margins(float left, float top, float right, float bottom)
Parameters
Type Name Description
float left

The left.

float top

The top.

float right

The right.

float bottom

The bottom.

Examples
_margins = new Margins(1, 1, 1, 1);
Exceptions
Type Condition
ArgumentException

Thrown when any of the left, top, right or bottom values is negative. A value of 0 is allowed.