com.esri.arcgis.framework
Interface IStyleSelector

All Superinterfaces:
Serializable
All Known Implementing Classes:
BackgroundSelector, BorderSelector, LabelStyleSelector, LegendItemSelector, MapGridSelector, MaplexLabelStyleSelector, NorthArrowSelector, ScaleBarSelector, ScaleTextSelector, ShadowSelector

public interface IStyleSelector
extends Serializable

Provides access to members that work with the style selector dialog.

Product Availability

Available with ArcGIS Desktop.


Method Summary
 boolean addStyle(Object style)
          Specifies the original style.
 boolean doModal(int parentHWnd)
          Shows the style selector dialog.
 Object getStyle(int index)
          Returns the updated style.
 

Method Detail

addStyle

boolean addStyle(Object style)
                 throws IOException,
                        AutomationException
Specifies the original style. May specify more than one.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

Parameters:
style - A reference to another Object (IUnknown) (in)
Returns:
The result
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getStyle

Object getStyle(int index)
                throws IOException,
                       AutomationException
Returns the updated style. Index is required when more than one style was originally added.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

Parameters:
index - The index (in)
Returns:
A reference to another Object (IUnknown)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

doModal

boolean doModal(int parentHWnd)
                throws IOException,
                       AutomationException
Shows the style selector dialog.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

Parameters:
parentHWnd - The parentHWnd (A COM typedef) (in)
Returns:
The ok
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.