
## __init__ {#}

Initializes a new instance of the [`Margin`](/html/python-net/aspose.html.drawing/margin) class.



```python
def __init__(self):
    ...
```




## __init__ {#int}

Initializes a new instance of the [`Margin`](/html/python-net/aspose.html.drawing/margin) class.



```python
def __init__(self, any_margin):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| any_margin | int | Any margin size. |


## __init__ {#aspose.html.drawing.Length}

Initializes a new instance of the [`Margin`](/html/python-net/aspose.html.drawing/margin) class.



```python
def __init__(self, any_margin):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| any_margin | [`Length`](/html/python-net/aspose.html.drawing/length) | Any margin size. |


## __init__ {#int-int-int-int}

Initializes a new instance of the [`Margin`](/html/python-net/aspose.html.drawing/margin) class.



```python
def __init__(self, left, top, right, bottom):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| left | int | The left size. |
| top | int | The top size. |
| right | int | The right size. |
| bottom | int | The bottom size. |


## __init__ {#aspose.html.drawing.Length-aspose.html.drawing.Length-aspose.html.drawing.Length-aspose.html.drawing.Length}

Initializes a new instance of the [`Margin`](/html/python-net/aspose.html.drawing/margin) class.



```python
def __init__(self, left, top, right, bottom):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| left | [`Length`](/html/python-net/aspose.html.drawing/length) | The left size. |
| top | [`Length`](/html/python-net/aspose.html.drawing/length) | The top size. |
| right | [`Length`](/html/python-net/aspose.html.drawing/length) | The right size. |
| bottom | [`Length`](/html/python-net/aspose.html.drawing/length) | The bottom size. |



### See Also
* module [`aspose.html.drawing`](../../)
* class [`Margin`](/html/python-net/aspose.html.drawing/margin)
