# ImageList\_SetIconSize

```csharp
[DllImport("Comctl32.dll", SetLastError = true)][return: MarshalAs(UnmanagedType.Bool)]
public static extern bool ImageList_SetIconSize(
   IntPtr himl,
   int cx,
   int cy
);
```

Microsoft documentation: [Link](https://docs.microsoft.com/en-us/windows/win32/api/commctrl/nf-commctrl-imagelist_seticonsize)
