
# IImageService interface

*No description yet.*

```csharp
public interface IImageService
```

**Namespace:** Altium.Dxp.Interfaces · **Assembly:** Altium.SDK.Interfaces

## Methods

| Method | Returns | Description |
| --- | --- | --- |
| [FindImageByName](#findimagebyname) | `string` |  |
| [GetIconPathFromDocumentKind](#geticonpathfromdocumentkind) | `string` |  |
| [GetIconPathFromProjectFilename](#geticonpathfromprojectfilename) | `string` |  |

### FindImageByName

*No description yet.*

```csharp
string FindImageByName(string fileName, ImageLocations[] locations);
```

| Parameter | Type | Passing |
| --- | --- | --- |
| `fileName` | `string` | value |
| `locations` | [ImageLocations](https://altiumdeveloper.github.io/ad-sdk-docs/reference/altium-dxp-interfaces/ImageLocations.md)`[]` | value |

**Returns:** `string`

### GetIconPathFromDocumentKind

*No description yet.*

```csharp
string GetIconPathFromDocumentKind(string documentKind, ImageSize size);
```

| Parameter | Type | Passing |
| --- | --- | --- |
| `documentKind` | `string` | value |
| `size` | [ImageSize](https://altiumdeveloper.github.io/ad-sdk-docs/reference/altium-dxp-interfaces/ImageSize.md) | value |

**Returns:** `string`

### GetIconPathFromProjectFilename

*No description yet.*

```csharp
string GetIconPathFromProjectFilename(string fileName, ImageSize size, bool isManagedProj, bool isActiveConnection);
```

| Parameter | Type | Passing |
| --- | --- | --- |
| `fileName` | `string` | value |
| `size` | [ImageSize](https://altiumdeveloper.github.io/ad-sdk-docs/reference/altium-dxp-interfaces/ImageSize.md) | value |
| `isManagedProj` | `bool` | value |
| `isActiveConnection` | `bool` | value |

**Returns:** `string`

## Returned by

[GlobalVars.ImageService](https://altiumdeveloper.github.io/ad-sdk-docs/reference/dxp/GlobalVars.md#imageservice)
