Initializes a new instance of the Offsets structure, assigning the Left, Top, Right and Bottom values.

Namespace:  C1.C1Preview
Assembly:  C1.C1Report.2 (in C1.C1Report.2.dll)

Syntax

C#
public Offsets(
	string left,
	string top,
	string right,
	string bottom
)
Visual Basic
Public Sub New ( _
	left As String, _
	top As String, _
	right As String, _
	bottom As String _
)

Parameters

left
Type: System..::..String
A string representing the Unit value assigned to the Left property.
top
Type: System..::..String
A string representing the Unit value assigned to the Top property.
right
Type: System..::..String
A string representing the Unit value assigned to the Right property.
bottom
Type: System..::..String
A string representing the Unit value assigned to the Bottom property.

Remarks

Only absolute Unit values (such as "1mm" or "8in") are allowed.

See Also