can_load method
Contents
[
Hide
]can_load
Determines whether image can be loaded from the specified file path.
Returns
true
if image can be loaded from the specified file; otherwise, false
.
def can_load(self, file_path):
...
Parameter | Type | Description |
---|---|---|
file_path | str | The file path. |
can_load
Determines whether image can be loaded from the specified stream.
Returns
true
if image can be loaded from the specified stream; otherwise, false
.
def can_load(self, stream):
...
Parameter | Type | Description |
---|---|---|
stream | io.RawIOBase | The stream to load from. |
can_load
Determines whether an image can be loaded from the specified file path and optionally using the specified open options
Returns
true
if an image can be loaded from the specified file; otherwise, false
.
def can_load(self, file_path, load_options):
...
Parameter | Type | Description |
---|---|---|
file_path | str | The file path. |
load_options | LoadOptions | The load options. |
can_load
Determines whether image can be loaded from the specified stream and optionally using the specified load_options
.
Returns
true
if image can be loaded from the specified stream; otherwise, false
.
def can_load(self, stream, load_options):
...
Parameter | Type | Description |
---|---|---|
stream | io.RawIOBase | The stream to load from. |
load_options | LoadOptions | The load options. |
See Also
- module
aspose.cad.fileformats.dwf
- class
DwfImage