[]
Initializes a new instance of the Offsets structure, assigning the Left, Top, Right and Bottom values.
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)
| 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. |
Only absolute Unit values (such as "1mm" or "8in") are allowed.
Initializes a new instance of the Offsets structure, assigning a single value to all four offset properties.
public Offsets(string all)
Public Sub New(all As String)
| Type | Name | Description |
|---|---|---|
| string | all | A string representing the Unit value assigned to all four offsets. |
Only absolute Unit values (such as "1mm" or "8in") are allowed.
Initializes a new instance of the Offsets structure, assigning a single value to all four offset properties.
public Offsets(Unit all)
Public Sub New(all As Unit)
| Type | Name | Description |
|---|---|---|
| Unit | all | A Unit value assigned to all four offsets. |
Only absolute Unit values (such as "1mm" or "8in") are allowed.