[]
        
(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)
Public Sub New(left As String, top As String, right As String, bottom As String)
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)
Public Sub New(all As String)
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)
Public Sub New(all As Unit)
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.