Image.CanLoad
Contents
[
Hide
]CanLoad(string)
Determines whether image can be loaded from the specified file path.
public static bool CanLoad(string filePath)
Parameter | Type | Description |
---|---|---|
filePath | String | The file path. |
Return Value
true
if image can be loaded from the specified file; otherwise, false
.
See Also
- class Image
- namespace Aspose.PSD
- assembly Aspose.PSD
CanLoad(string, LoadOptions)
Determines whether image can be loaded from the specified file path and optionally using the specified open options.
public static bool CanLoad(string filePath, LoadOptions loadOptions)
Parameter | Type | Description |
---|---|---|
filePath | String | The file path. |
loadOptions | LoadOptions | The load options. |
Return Value
true
if image can be loaded from the specified file; otherwise, false
.
See Also
- class LoadOptions
- class Image
- namespace Aspose.PSD
- assembly Aspose.PSD
CanLoad(Stream)
Determines whether image can be loaded from the specified stream.
public static bool CanLoad(Stream stream)
Parameter | Type | Description |
---|---|---|
stream | Stream | The stream to load from. |
Return Value
true
if image can be loaded from the specified stream; otherwise, false
.
See Also
- class Image
- namespace Aspose.PSD
- assembly Aspose.PSD
CanLoad(Stream, LoadOptions)
Determines whether image can be loaded from the specified stream and optionally using the specified loadOptions.
public static bool CanLoad(Stream stream, LoadOptions loadOptions)
Parameter | Type | Description |
---|---|---|
stream | Stream | The stream to load from. |
loadOptions | LoadOptions | The load options. |
Return Value
true
if image can be loaded from the specified stream; otherwise, false
.
See Also
- class LoadOptions
- class Image
- namespace Aspose.PSD
- assembly Aspose.PSD