---
title: "ColorPalette.ToGdiPlusColorPalette Method "
canonical: https://www.graphicsmill.com/docs/gm/M_Aurigma_GraphicsMill_ColorPalette_ToGdiPlusColorPalette.htm
product: "Graphics Mill"
---

# ColorPalette.ToGdiPlusColorPalette Method 
 
Gets the System.Drawing.Imaging.ColorPalette containing the same colors as this [ColorPalette](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_ColorPalette.htm.md) does.
 
**Namespace:** [Aurigma.GraphicsMill](https://www.graphicsmill.com/docs/gm/N_Aurigma_GraphicsMill.htm.md)
 **Assembly:** Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
 
## Syntax
  
```csharp
public ColorPalette ToGdiPlusColorPalette()
```
 
### Return Value
A System.Drawing.Imaging.ColorPalette containing the same colors as this [ColorPalette](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_ColorPalette.htm.md) does.
   
## See Also

### Reference

- [ColorPalette Class](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_ColorPalette.htm.md)
- [Aurigma.GraphicsMill Namespace](https://www.graphicsmill.com/docs/gm/N_Aurigma_GraphicsMill.htm.md)
