com.esri.arcgis.display
Interface IGraphicAttributes2

All Superinterfaces:
IGraphicAttributes, Serializable
All Known Implementing Classes:
BasicMarkerSymbol, GeometricEffectAddControlPoints, GeometricEffectArrow, GeometricEffectBuffer, GeometricEffectCut, GeometricEffectDash, GeometricEffectDonut, GeometricEffectEnclosingPolygon, GeometricEffectExtension, GeometricEffectJog, GeometricEffectMove, GeometricEffectOffset, GeometricEffectOffsetTangent, GeometricEffectRadial, GeometricEffectRegularPolygon, GeometricEffectReverse, GeometricEffectRotate, GeometricEffectScale, GeometricEffectSimplify, GeometricEffectSmooth, GeometricEffectSuppress, GeometricEffectTaperedPolygon, GeometricEffectWave, GradientPattern, LinePattern, LineStroke, MarkerPlacementAlongLine, MarkerPlacementAtExtremities, MarkerPlacementDecoration, MarkerPlacementInsidePolygon, MarkerPlacementOnLine, MarkerPlacementOnPoint, MarkerPlacementOnVertices, MarkerPlacementPolygonCenter, MarkerPlacementRandomAlongLine, MarkerPlacementRandomInPolygon, MarkerPlacementVariableAlongLine, SolidColorPattern

public interface IGraphicAttributes2
extends IGraphicAttributes, Serializable

Provides access to members that control the graphic attributes.

Description

This interface is new at ArcGIS 9.3. It supersedes IGraphicAttributes.

Product Availability

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


Method Summary
 String getCaption(int attrId)
          Caption of the graphic attribute.
 String getClassCaption(int geomType)
          Caption of the object containing the graphic attributes.
 
Methods inherited from interface com.esri.arcgis.display.IGraphicAttributes
getClassName, getGraphicAttributeCount, getID, getIDByName, getName, getType, getValue, setValue
 

Method Detail

getCaption

String getCaption(int attrId)
                  throws IOException,
                         AutomationException
Caption of the graphic attribute.

Product Availability

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

Parameters:
attrId - The attrId (in)
Returns:
The caption
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getClassCaption

String getClassCaption(int geomType)
                       throws IOException,
                              AutomationException
Caption of the object containing the graphic attributes.

Product Availability

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

Parameters:
geomType - A com.esri.arcgis.geometry.esriGeometryType constant (in)
Returns:
The caption
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.