com.esri.arcgis.display
Interface ISimpleFillSymbol

All Superinterfaces:
IFillSymbol, Serializable
All Known Implementing Classes:
SimpleFillSymbol

public interface ISimpleFillSymbol
extends IFillSymbol, Serializable

Provides access to members that control the simple fill symbol.

Description

ISimpleFillSymbol is used to create a fill symbol comprised of a predefined set of styles. The available styles are provided by the esriSimpleFillStyle enumeration. Use the IFillSymbol interface to set additional properties for ISimpleFillSymbols.

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.

Product Availability

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


Method Summary
 int getStyle()
          Fill style.
 void setStyle(int style)
          Fill style.
 
Methods inherited from interface com.esri.arcgis.display.IFillSymbol
getColor, getOutline, setColor, setOutline
 

Method Detail

getStyle

int getStyle()
             throws IOException,
                    AutomationException
Fill style.

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.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Returns:
A com.esri.arcgis.display.esriSimpleFillStyle constant
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setStyle

void setStyle(int style)
              throws IOException,
                     AutomationException
Fill style.

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.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Parameters:
style - A com.esri.arcgis.display.esriSimpleFillStyle constant (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.