## ColorTranslator.ToOle method

Converts [`Color`](../../color/) structure to OLE presentation of color.

```csharp
public static int ToOle(Color c)
```

| Parameter | Type | Description |
| --- | --- | --- |
| c | Color | [`Color`](../../color/) structure to convert. |

### Return Value

Value that represent OLE format of color.

### See Also

* struct [Color](../../color/)
* class [ColorTranslator](../)
* namespace [System.Drawing](../../colortranslator/)
* assembly [Aspose.Drawing](../../../)


