load method
Contents
[
Hide
]load
Loads a new image from the specified file.
Returns
The loaded drawing.
def load(self, file_path):
...
| Parameter | Type | Description |
|---|---|---|
| file_path | str | The file path to load image from. |
Example
Loads a drawing to process
load
Loads a new image from the specified stream.
Returns
The loaded drawing.
def load(self, stream):
...
| Parameter | Type | Description |
|---|---|---|
| stream | io.RawIOBase | The stream to load image from. |
Example
Loads a drawing to process from corresponding stream
load
Loads a new image from the specified file.
Returns
The loaded drawing.
def load(self, file_path, load_options):
...
| Parameter | Type | Description |
|---|---|---|
| file_path | str | The file path to load image from. |
| load_options | LoadOptions | The load options. |
Example
Loads a drawing to process and unloads all related resources when dispose is called
load
Loads a new image from the specified stream.
Returns
The loaded drawing.
def load(self, stream, load_options):
...
| Parameter | Type | Description |
|---|---|---|
| stream | io.RawIOBase | The stream to load image from. |
| load_options | LoadOptions | The load options. |
Example
Loads a drawing to process from corresponding stream and unloads all related resources when dispose is called
load
Loads a new image from the specified stream.
Returns
The loaded drawing.
def load(self, stream, file_name, load_options):
...
| Parameter | Type | Description |
|---|---|---|
| stream | io.RawIOBase | The stream to load image from. |
| file_name | str | The file name. |
| load_options | LoadOptions | The load options. |
Example
Loads a drawing to process from corresponding stream
See Also
- module
aspose.cad.fileformats.ifc - class
IfcImage