---
title: "GrayScaleColor..::.ToInt32 Method "
canonical: https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_GrayScaleColor_ToInt32.htm
product: "Graphics Mill 5.5 for .NET"
---

This documentation is for the old version. [Go to the latest Graphics Mill docs](https://www.graphicsmill.com/docs/gm/)

# GrayScaleColor.ToInt32 Method 
 
Returns non-extended (8 bit per channel) numeric representation of this [GrayScaleColor](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_GrayScaleColor.htm.md).
 
**Namespace:** [Aurigma.GraphicsMill](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill.htm.md)
 **Assembly:** Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
 
## Syntax
  
```
Public Overrides Function ToInt32 As Integer
```
 
```csharp
public override int ToInt32()
```
 
### Return Value
Value containing numeric representation of this [GrayScaleColor](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_GrayScaleColor.htm.md).
   
## See Also

### Reference

- [GrayScaleColor Class](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_GrayScaleColor.htm.md)
- [Aurigma.GraphicsMill Namespace](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill.htm.md)
