Image.CanLoad
Contenu
[
Cacher
]CanLoad(string)
Détermine si l’image peut être chargée à partir du chemin de fichier spécifié.
public static bool CanLoad(string filePath)
| Paramètre | Taper | La description |
|---|---|---|
| filePath | String | Le chemin du fichier. |
Return_Value
vrai si l’image peut être chargée à partir du fichier spécifié ; sinon,FAUX .
Voir également
- class Image
- espace de noms Aspose.PSD
- Assemblée Aspose.PSD
CanLoad(string, LoadOptions)
Détermine si l’image peut être chargée à partir du chemin de fichier spécifié et éventuellement à l’aide des options d’ouverture spécifiées.
public static bool CanLoad(string filePath, LoadOptions loadOptions)
| Paramètre | Taper | La description |
|---|---|---|
| filePath | String | Le chemin du fichier. |
| loadOptions | LoadOptions | Les options de chargement. |
Return_Value
vrai si l’image peut être chargée à partir du fichier spécifié ; sinon,FAUX .
Voir également
- class LoadOptions
- class Image
- espace de noms Aspose.PSD
- Assemblée Aspose.PSD
CanLoad(Stream)
Détermine si l’image peut être chargée à partir du flux spécifié.
public static bool CanLoad(Stream stream)
| Paramètre | Taper | La description |
|---|---|---|
| stream | Stream | Le flux à partir duquel charger. |
Return_Value
vrai si l’image peut être chargée à partir du flux spécifié ; sinon,FAUX .
Voir également
- class Image
- espace de noms Aspose.PSD
- Assemblée Aspose.PSD
CanLoad(Stream, LoadOptions)
Détermine si l’image peut être chargée à partir du flux spécifié et éventuellement en utilisant leloadOptions .
public static bool CanLoad(Stream stream, LoadOptions loadOptions)
| Paramètre | Taper | La description |
|---|---|---|
| stream | Stream | Le flux à partir duquel charger. |
| loadOptions | LoadOptions | Les options de chargement. |
Return_Value
vrai si l’image peut être chargée à partir du flux spécifié ; sinon,FAUX .
Voir également
- class LoadOptions
- class Image
- espace de noms Aspose.PSD
- Assemblée Aspose.PSD