
## load {#str}

Loads a new image from the specified file.


### Returns 


The loaded drawing.


```python
def load(self, file_path):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| file_path | str | The file path to load image from. |


## load {#io.RawIOBase}

Loads a new image from the specified stream.


### Returns 


The loaded drawing.


```python
def load(self, stream):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| stream | io.RawIOBase | The stream to load image from. |


## load {#str-aspose.cad.LoadOptions}

Loads a new image from the specified file.


### Returns 


The loaded drawing.


```python
def load(self, file_path, load_options):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| file_path | str | The file path to load image from. |
| load_options | [`LoadOptions`](/cad/python-net/aspose.cad/loadoptions) | The load options. |


## load {#io.RawIOBase-aspose.cad.LoadOptions}

Loads a new image from the specified stream.


### Returns 


The loaded drawing.


```python
def load(self, stream, load_options):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| stream | io.RawIOBase | The stream to load image from. |
| load_options | [`LoadOptions`](/cad/python-net/aspose.cad/loadoptions) | The load options. |



### See Also
* module [`aspose.cad`](../../)
* class [`RasterImage`](/cad/python-net/aspose.cad/rasterimage)
