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


IFillSymbol.Color Property (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Display)  

IFillSymbol.Color Property

Fill color.

[Visual Basic .NET]
Public Property Color As IColor
[C#]
public IColor Color {get; set;}
[C++]
HRESULT get_Color(
  IColor** Color
);
[C++]
HRESULT put_Color(
  IColor* Color
);
[C++]

Parameters Color [out, retval]
Color is a parameter of type IColor Color [in]
Color is a parameter of type IColor

Product Availability

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

Description

Color is the color for a FillSymbol object. Any IColor object can be used.

See Also

IFillSymbol Interface

.NET Samples

3D multipatch examples (Code Files: ElementUtilities) | Custom UI elements using add-ins (Code Files: AddGraphicsTool) | Use an AlgorithmicColorRamp to color a ClassBreaksRenderer (Code Files: AlgorithmicColorRamp) | Extent view (Code Files: clsExtentView) | Executing geoprocessing tools in the background (Code Files: RunGPForm) | Geoevents in a MapControl (Code Files: GeoEvents) | Creating a toolbar of globe tools (Code Files: PolygonElement) | Create a custom default raster renderer (Code Files: RasterRendererMaker_1bit_TIFF_VBNET) | Multivariate renderer (Code Files: MultivariateRenderer) | Triangle graphic element (Code Files: TriangleElementClass) | Create a custom tool (Code Files: DrawGraphicLine) | Retrieve a color ramp from the SymbologyControl (Code Files: SymbolForm) | Draw text on a MapControl (Code Files: DrawText)

.NET Related Topics

Create a custom tool | Defining a renderer for a layer | How to create a raster classify renderer | How to create a raster unique value renderer