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 | Add Graphic to Map | Create Line Callout |

.NET Samples

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

.NET Related Topics

Create a custom tool | How to define a renderer for your layer |