[]
        
(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

Left margin value must be greater than 0 or Top margin value must be greater than 0 or Right margin value must be greater than 0 or Bottom margin value must be greater than 0