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


IFillSymbol Interface (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Display)  

IFillSymbol Interface

Provides access to members that control fill symbols.

Product Availability

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

Description

IFillSymbol is the genereric interface for properties common to ILineFillSymbol, IMarkerFillSymbol, IGradientFillSymbol, ISimpleFillSymbol, and IPictureFillSymbol.

Members

Description
Read/write property Color Fill color.
Read/write property Outline Line symbol of fill outline.

CoClasses that implement IFillSymbol

CoClasses and Classes Description
ColorRampSymbol (esriCarto) Esri ColorRampSymbol for raster rendering.
ColorSymbol (esriCarto) Esri ColorSymbol for raster rendering.
DotDensityFillSymbol Defines a dot density fill symbol, a data driven symbol commonly used with the dot density renderer.
GradientFillSymbol A fill symbol composed from a ramp of colors.
LineFillSymbol A fill symbol comprised of any of the supported line symbols.
MarkerFillSymbol A fill symbol comprised of any of the supported marker symbols.
MultiLayerFillSymbol A fill symbol that contains one or more layers.
PictureFillSymbol A fill symbol based on either a BMP or an EMF picture.
RasterRGBSymbol (esriCarto) Esri RasterRGBSymbol for raster rendering.
SimpleFillSymbol A fill symbol comprised from a predefined set of styles.
TextureFillSymbol (esri3DAnalyst) Texture Fill Symbol component.

Remarks

The Color property controls the color of the basic fill (SimpleFill, MarkerFill, GradientFill, and so on) and can be set to any IColor object.

The Outline property sets an ILineSymbol object, which is drawn as the outline of the fill symbol. By default, the outline is a solid SimpleLineSymbol, but you can use any type of line symbol as your outline.

Note that the outline is centered on the boundary of the feature, therefore, an outline with a width of 5 will overlap the fill symbol by a visible amount.

See Also

IDotDensityFillSymbol Interface | IMarkerFillSymbol Interface | ILineFillSymbol Interface | IGradientFillSymbol Interface | IFillSymbol Interface | IDotDensityFillSymbol2 Interface | IFillProperties Interface | IPictureFillSymbol Interface | IMultiLayerFillSymbol Interface

.NET Samples

Use a PageLayoutControl as an overview window (Code Files: Overview) | Use an AlgorithmicColorRamp to color a ClassBreaksRenderer (Code Files: AlgorithmicColorRamp) | Extent view (Code Files: clsExtentView) | Multivariate renderer (Code Files: MultivariateRenderer)

.NET Related Topics

How to create a raster classify renderer