## Icon.ExtractAssociatedIcon method

Returns an icon representation of an image that is contained in the specified file.

```csharp
public static Icon ExtractAssociatedIcon(string filePath)
```

| Parameter | Type | Description |
| --- | --- | --- |
| filePath | String | The path to the file that contains an image. |

### Return Value

The Icon representation of the image that is contained in the specified file.

### See Also

* class [Icon](../)
* namespace [System.Drawing](../../icon/)
* assembly [Aspose.Drawing](../../../)


