This document is archived and information here might be outdated.  Recommended version.


IEngineInkGenericDrawTool.Color Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Controls > ESRI ArcGIS Controls > Interfaces > IE > IEngineInkGenericDrawTool Interface > IEngineInkGenericDrawTool.Color Property
ArcGIS Developer Help

IEngineInkGenericDrawTool.Color Property

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(
  System.Int32* pColor
);
[C++]
Parameters
pColor [in]

pColor is a parameter of type long pColor [out, retval]
pColor is a parameter of type long*

Product Availability

Available with ArcGIS Engine.

Description

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).

See Also

IEngineInkGenericDrawTool Interface