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


ISimpleFillSymbol.Style Property (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Display)  

ISimpleFillSymbol.Style Property

Fill style.

[Visual Basic .NET]
Public Property Style As esriSimpleFillStyle
[C#]
public esriSimpleFillStyle Style {get; set;}
[C++]
HRESULT get_Style(
  esriSimpleFillStyle* Style
);
[C++]
HRESULT put_Style(
  esriSimpleFillStyle Style
);
[C++]

Parameters Style [out, retval]
Style is a parameter of type esriSimpleFillStyle Style [in]
Style is a parameter of type esriSimpleFillStyle

Product Availability

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

Description

Style is the enumeration that controls the pattern used as the fill.  The avaialble fill options include: esriSFSBackwardDiagonal, esriSFSCross, esriSFSDiagonalCross, esriSFSForwardDiagonal, esriSFSHollow, esriSFSHorizontal, esriSFSNull, esriSFSSolid and esriSFSVertical. esriSFSSolid is the default Style.

Remarks

It is strongly recommended to not use any Style other than esriSFSSolid. All of the remaining style enumerations can be accomplished using other fill symbol types such as ILineFillSymbol, or by specifying IColor::NullColor for hollow symbols.

See Also

ISimpleFillSymbol Interface

.NET Snippets

Create Simple Fill Symbol | Create Line Callout | Add Graphic to Map

.NET Samples

Custom UI elements using add-ins (Code Files: AddGraphicsTool) | Executing geoprocessing tools in the background (Code Files: RunGPForm) | Creating a toolbar of globe tools (Code Files: PolygonElement) | Building a MapViewer application using the ArcGIS Engine controls (Code Files: MapViewer) | Triangle graphic element (Code Files: TriangleElementClass) | Create a custom tool (Code Files: DrawGraphicLine)

.NET Related Topics

Create a custom tool | Defining a renderer for a layer