ArcObjects Library Reference (Display)  

IRgbColor Interface

Provides access to members that control the RGB color values.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Description

IRgbColor maintains information about a Color by using the RGB (Red, Green, Blue) color model.

Members

Description
Read/write property Blue The blue component of an IRgbColor (0-255).
Read/write property CMYK The CMYK value of color.
Method GetCIELAB The CIELAB value of color.
Read/write property Green The green component of an IRgbColor (0-255).
Read/write property NullColor Indicates whether this color is null.
Read/write property Red The red component of an IRgbColor (0-255).
Read/write property RGB The RGB value of color.
Method SetCIELAB The CIELAB value of color.
Read/write property Transparency The Alpha Blending value. (0 for transparent, 255 for opaque).
Read/write property 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.

Inherited Interfaces

Interfaces Description
IColor Provides access to members that control the basic color interface.

CoClasses that implement IRgbColor

CoClasses and Classes Description
RgbColor A color in the RGB(Red Green Blue) color system.

See Also

IRgbColor Interface | IGrayColor Interface | IHsvColor Interface | IHlsColor Interface

.NET Snippets

Create Character Marker Symbol | Draw Polygon | Create Cartographic Line Symbol | Create Simple Line Symbol | Draw Rectangle | Draw Polyline | Create Simple Fill Symbol | Create Line Fill Symbol | Create Picture Marker Symbol | Add Graphic to Map | Create Gradient Fill Symbol | Create Line Callout | Draw Polyline Using Input Geometry | Flash Geometry | Create Simple Marker Symbol | Create RGBColor |

.NET Samples

3D dynamic element tracking (Code Files: TrackDynamicObject) | 3D multipatch examples (Code Files: ColorUtilities) | Add a traversal result to the map (Code Files: AddTraversalResultsToMap) | Add and symbolize a historical temporal layer in ArcMap (Code Files: AddTemporalLayerButton) | Angle Angle shape constructor (Code Files: AngleAngleCstr) | Building a MapViewer application using the ArcGIS Engine controls (Code Files: MapViewer) | Create a custom default raster catalog renderer (Code Files: CustomRasterCatalogRenderer_VBNET) | Create a custom default raster renderer (Code Files: RasterRendererMaker_1bit_TIFF_VBNET) | Create a custom tool (Code Files: DrawGraphicLine) | Creating a toolbar of globe tools (Code Files: ColorSelection) | Custom feedback tool and font drop-down list tool control (Code Files: ToolSample) | Custom UI elements using add-ins (Code Files: AddGraphicsTool) | Displaying symbol-based MOLE graphics on a MapControl (Code Files: MoleDisplay) | Draw text on a MapControl (Code Files: DrawText) | Editing using a custom form (Code Files: MainForm) | Effects in the GlobeControl (Code Files: Effects) | Executing geoprocessing tools in the background (Code Files: RunGPForm) | Geodesy MapControl (Code Files: GeodesyMapControl) | Geoevents in a MapControl (Code Files: GeoEvents) | Implementing a schematic digitizing tool (Code Files: DigitTool) | Locate coordinates (Code Files: LocateCoordinates) | Move a graphic along a path in ArcMap (Code Files: MapGraphicTrackExtension) | Multivariate renderer (Code Files: MultivariateRenderer) | Network Analyst barrier location editor (Code Files: EditorForm) | Play back tracking data (Code Files: PlaybackDataButton) | RSS weather GraphicTracker (Code Files: RSSWeather) | RSS weather layer (Code Files: RSSWeatherLayerClass) | Server spatial query COM utility (Code Files: VegUtils_VBNet) | Server spatial query server object extension (Code Files: Extension) | Simple SOE (Code Files: Form1) | Use a PageLayoutControl as an overview window (Code Files: Overview) | Use an AlgorithmicColorRamp to color a ClassBreaksRenderer (Code Files: frmAlgorithmicColorRamp) | Using MOLE symbol-based graphics with interactive maps (Code Files: MainForm) |

.NET Related Topics

Building a map viewing application using the ArcGIS Engine controls | Building custom UI elements using add-ins | Cartographic representations | Create a custom tool | Creating map grid labels | DefenseSolutions | DisplayUI | How to connect to ArcGIS Tracking Server | How to create a dynamic glyph from a marker symbol | How to create a raster stretch renderer | How to create map grids | How to develop the SOE | How to draw a polygon on the screen | How to draw a polyline on the screen | How to draw a rectangle on the screen | How to make a cartographic line symbol | How to make a character marker symbol | How to make a gradient fill symbol | How to make a line callout | How to make a line fill symbol | How to make a picture marker symbol | How to make different types of colors and color ramps | Source code option for the ArcGIS Snippet Editor | Working with PageLayout elements | Working with the editor snap environment |