| IImageLoaderDescriptorCanLoad Method |
Determines whether image loader can read a new image from the specified stream and optionally using the loadOptions.
Namespace: Aspose.PSDAssembly: Aspose.PSD (in Aspose.PSD.dll) Version: 23.4
Syntaxbool CanLoad(
StreamContainer streamContainer,
LoadOptions loadOptions
)
Function CanLoad (
streamContainer As StreamContainer,
loadOptions As LoadOptions
) As Boolean
bool CanLoad(
StreamContainer^ streamContainer,
LoadOptions^ loadOptions
)
abstract CanLoad :
streamContainer : StreamContainer *
loadOptions : LoadOptions -> bool
Parameters
- streamContainer
- Type: Aspose.PSDStreamContainer
The stream container. - loadOptions
- Type: Aspose.PSDLoadOptions
The file format details specified by loadOptions. The loadOptions may be null.
Return Value
Type:
Booleantrue if image loader created by this descriptor can read image from stream; otherwise,
false.
See Also