This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Controls > ESRI ArcGIS Controls > Interfaces > IE > IEngineInkGenericDrawTool Interface > IEngineInkGenericDrawTool.Color Property (ArcObjects .NET 10.4 SDK) |
The color used to render the element created by this tool.
[Visual Basic .NET] Public Property Color As Integer
[C#] public int Color {get; set;}
[C++]
HRESULT get_Color(
long* pColor
);
[C++]
HRESULT put_Color(
long pColor
);
[C++]
Parameters pColor [out, retval] pColor is a parameter of type long pColor [in] pColor is a parameter of type long
The ink Color used by the ControlsInkGenericDrawTool. Internally the Color is stored as a long integer where the value may be calculated for any RGB combination as follows: RGB = (Red) + (Green * 256) + (Blue * 256 * 256). Where Red, Green and Blue are Long Integers within the range 0 - 255.
By default Color is black and corresponds to RGB (0, 0, 0).