[]
Initializes a new instance of the System.Windows.Forms.Padding class using the supplied padding size for all edges.
public Padding(int all)
| Type | Name | Description |
|---|---|---|
| int | all | The number of pixels to be used for padding for all edges. |
Initializes a new instance of the System.Windows.Forms.Padding class using a separate padding size for each edge.
public Padding(int left, int top, int right, int bottom)
| Type | Name | Description |
|---|---|---|
| int | left | The padding size, in pixels, for the left edge. |
| int | top | The padding size, in pixels, for the top edge. |
| int | right | The padding size, in pixels, for the right edge. |
| int | bottom | The padding size, in pixels, for the bottom edge. |