[]
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)
| 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)
| 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)
| Type | Name | Description |
|---|---|---|
| Unit | all | A Unit value assigned to all four offsets. |
Only absolute Unit values (such as "1mm" or "8in") are allowed.