---
title: "CmykColor..::.ToInt64 Method "
canonical: https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_CmykColor_ToInt64.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/)

# CmykColor.ToInt64 Method 
 
Returns extended (16 bit per channel) numeric representation of this [CmykColor](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_CmykColor.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 ToInt64 As Long
```
 
```csharp
public override long ToInt64()
```
 
### Return Value
Value containing numeric representation of this [CmykColor](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_CmykColor.htm.md).
 
## Remarks
 CMYK color contains more channels than can fit to [Int64](http://msdn2.microsoft.com/en-us/6yy583ek) value. It has 5 channels (alpha, cyan, magenta, yellow, and black), but a 64-bit number can hold only 4 extended channels. That's why alpha channel is truncated and you get only CMYK quad instead of ACMYK quintuple.
   
## See Also

### Reference

- [CmykColor Class](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_CmykColor.htm.md)
- [Aurigma.GraphicsMill Namespace](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill.htm.md)
