## CanLoad(string) {#canload_2}

Détermine si l'image peut être chargée à partir du chemin de fichier spécifié.

```csharp
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](../../image/)
* Assemblée [Aspose.PSD](../../../)

---

## CanLoad(string, LoadOptions) {#canload_3}

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.

```csharp
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](../../loadoptions/)
* class [Image](../)
* espace de noms [Aspose.PSD](../../image/)
* Assemblée [Aspose.PSD](../../../)

---

## CanLoad(Stream) {#canload}

Détermine si l'image peut être chargée à partir du flux spécifié.

```csharp
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](../../image/)
* Assemblée [Aspose.PSD](../../../)

---

## CanLoad(Stream, LoadOptions) {#canload_1}

Détermine si l'image peut être chargée à partir du flux spécifié et éventuellement en utilisant le*loadOptions* .

```csharp
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](../../loadoptions/)
* class [Image](../)
* espace de noms [Aspose.PSD](../../image/)
* Assemblée [Aspose.PSD](../../../)


