Provides access to members that control the basic color interface.
Product Availability
Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.
Description
IColor is a generic interface that are implemented by all the other color CoClasses. IColor is also where transparency is managed. The other color interfaces derived from IColor interface are: IRgbColor , ICmykColor , IHsvColor , IHlsColor , and IGrayColor . You can also convert any of the color interfaces to OLE color objects by using the RGB method.
Members
All
Properties
Methods
Description
CMYK
The CMYK value of color.
GetCIELAB
The CIELAB value of color.
NullColor
Indicates whether this color is null.
RGB
The RGB value of color.
SetCIELAB
The CIELAB value of color.
Transparency
The Alpha Blending value. (0 for transparent, 255 for opaque).
UseWindowsDithering
Indicates if colors should be dithered to simulate colors that aren't supported by the display. This only applies on displays that have 256 or fewer colors.
CoClasses that implement IColor
CoClasses and Classes
Description
CmykColor
A color in the CMYK(Cyan Magenta Yellow, Black) color system.
GrayColor
A color in the grayscale color system.
HlsColor
A color in the HLS(Hue, Luminance, Saturation) color system.
HsvColor
A color in the HSV (Hue, Saturation, Value) color system.
RgbColor
A color in the RGB(Red Green Blue) color system.
See Also
IColor Interface | ICmykColor Interface | IEnumColors Interface | ICieLabConversion Interface
.NET Snippets
Draw Polygon |
Create Dynamic Marker Glyph from Image |
Add Graphics Layer to Globe |
Export MOLE Cached Graphic To Bitmap |
Draw Polyline Using Input Geometry |
Create Marker Symbol From MOLE Cached Graphic |
.NET Samples
3D multipatch examples (Code Files:
ColorUtilities DrawUtilities ElementUtilities GraphicsLayer3DUtilities ) |
Create a custom default raster catalog renderer (Code Files:
CustomRasterCatalogRenderer_VBNET ) |
Create a custom default raster renderer (Code Files:
RasterRendererMaker_1bit_TIFF_VBNET ) |
Creating a toolbar of globe tools (Code Files:
ColorSelection ) |
Displaying symbol-based MOLE graphics on a MapControl (Code Files:
MoleDisplay ) |
Dynamic biking (Code Files:
DynamicBikingCmd ) |
Dynamic display layer (Code Files:
MyDynamicLayerClass ) |
Dynamic displaytracking dynamic object (Code Files:
TrackObject ) |
Dynamic logo (Code Files:
DynamicLogo ) |
Effects in the GlobeControl (Code Files:
Effects ) |
Geodesy MapControl (Code Files:
GeodesyMapControl ) |
GraphicTracker with the map (Code Files:
GTMapForm ) |
Multivariate renderer (Code Files:
MultivariateRenderer ) |
Triangle graphic element (Code Files:
TriangleElementClass TriangleElementTool ) |
Use an AlgorithmicColorRamp to color a ClassBreaksRenderer (Code Files:
AlgorithmicColorRamp frmAlgorithmicColorRamp ) |
Using MOLE symbol-based graphics with interactive maps (Code Files:
MainForm ) |
Visualizing the camera path while animating (Code Files:
VisualizeCameraPath ) |
.NET Related Topics
Creating custom symbols |
Creating map grid labels |
DisplayUI |
How to create a raster stretch renderer |
How to create map grids |
How to draw a polygon on the screen |
How to draw a polyline on the screen |
How to draw a rectangle on the screen |
Setting default Object properties to IColor is problematic |