|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IOverride
Provides access to members that manage property overrides of a representation.
IOverride interface can be used to access override information for a feature representation. While the feature representation can have both shape and attribute overrides, this interface is used to access attribute override information only.
Attribute overrides are overrides made to graphical attributes for LineStroke, GradientPattern, LinePattern, SolidColorPattern, BasicMarkerSymbol, all marker placements, all geometric effects and visibility property which can be retrieved using IRepresentationClass::GraphicAttributes property.
When an attribute override exists for a feature representation, HasAttributeOverride property returns True.
RemoveOverride method can be used to remove override present on a specific graphical attribute given its index.
To remove all overrides present use RemoveOverrides method. However, this method cannot be used to remove shape overrides. Use IRepresentation::RemoveShapeOverride method to remove shape overrides.
Method Summary | |
---|---|
boolean |
isHasAttributeOverride()
Indicates if a graphical attribute is overriden. |
int |
isOverridenWithField(IGraphicAttributes attrs,
int idx)
Checks if the value of a graphical attribute comes from a feature field. |
void |
removeOverride(IGraphicAttributes attrs,
int idx)
Removes a given override from the blob. |
void |
removeOverrides()
Removes all attributes overrides from the representation. |
Method Detail |
---|
void removeOverride(IGraphicAttributes attrs, int idx) throws IOException, AutomationException
RemoveOverride method can be used to remove override present on a specific graphical attribute given its index. Shape overrides cannot be handled using this method. For removing shape override, use IRepresentation::RemoveShapeOverride method.
attrs
- A reference to a com.esri.arcgis.display.IGraphicAttributes (in)idx
- The idx (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int isOverridenWithField(IGraphicAttributes attrs, int idx) throws IOException, AutomationException
attrs
- A reference to a com.esri.arcgis.display.IGraphicAttributes (in)idx
- The idx (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void removeOverrides() throws IOException, AutomationException
RemoveOverrides method can be used to remove all overrides (except shape overrides) present on a feature representation.
For removing shape override, use IRepresentation::RemoveShapeOverride method.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean isHasAttributeOverride() throws IOException, AutomationException
HasAttributeOverride property will return True when a feature representation has attribute overrides. To get information on whether or not the representation has shape overrides, use IRepresentation::HasShapeOverride property.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |