## Image::FromFile method


Crea un oggetto [Image](../) dal file specificato.

```cpp
static SharedPtr<Image> System::Drawing::Image::FromFile(const String &filename, bool use_embedded_color_management=false)
```


| Parametro | Tipo | Descrizione |
| --- | --- | --- |
| filename | const String\& | Il nome del file che contiene i dati dell'immagine |
| use_embedded_color_management | bool | IGNORED |

### ReturnValue

Un puntatore condiviso all'oggetto [Image](../) creato.

## Vedi anche

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [Image](../)
* Class [String](../../../system/string/)
* Class [Image](../)
* Namespace [System::Drawing](../../)
* Library [Aspose.Page for C++](../../../)
