[]
        
(Showing Draft Content)

C1.C1Preview.Offsets.-ctor

Offsets Constructor

Offsets(string, string, string, string)

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

Declaration
public Offsets(string left, string top, string right, string bottom)
Parameters
Type Name Description
string left

A string representing the Unit value assigned to the Left property.

string top

A string representing the Unit value assigned to the Top property.

string right

A string representing the Unit value assigned to the Right property.

string bottom

A string representing the Unit value assigned to the Bottom property.

Remarks

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

Offsets(string)

Initializes a new instance of the Offsets structure, assigning a single value to all four offset properties.

Declaration
public Offsets(string all)
Parameters
Type Name Description
string all

A string representing the Unit value assigned to all four offsets.

Remarks

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

Offsets(Unit)

Initializes a new instance of the Offsets structure, assigning a single value to all four offset properties.

Declaration
public Offsets(Unit all)
Parameters
Type Name Description
Unit all

A Unit value assigned to all four offsets.

Remarks

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