com.esri.arcgis.carto
Interface IFillShapeElement

All Superinterfaces:
Serializable
All Known Implementing Classes:
CircleElement, EllipseElement, MultiPatchElement, PolygonElement, RectangleElement, Text3DElement

public interface IFillShapeElement
extends Serializable

Provides access to members that control the Fill Shape element.

When To Use

IFillShapeElement is a generic interface implemented by all 2d elements (CircleElement, EllipseElement, PolygonElement, and RectangleElement).

Use this interface when you want to retrieve or set the fill symbol being used by one of the fill shape elements.

Product Availability

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


Method Summary
 IFillSymbol getSymbol()
          Fill symbol this element uses to draw itself.
 void setSymbol(IFillSymbol symbol)
          Fill symbol this element uses to draw itself.
 

Method Detail

getSymbol

IFillSymbol getSymbol()
                      throws IOException,
                             AutomationException
Fill symbol this element uses to draw itself.

Remarks

The Symbol property returns or sets the fill symbol used by the element to draw itself.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Returns:
A reference to a com.esri.arcgis.display.IFillSymbol
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setSymbol

void setSymbol(IFillSymbol symbol)
               throws IOException,
                      AutomationException
Fill symbol this element uses to draw itself.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Parameters:
symbol - A reference to a com.esri.arcgis.display.IFillSymbol (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.