com.esri.arcgis.carto
Interface IDoubleFillScaleBar

All Superinterfaces:
Serializable
All Known Implementing Classes:
AlternatingScaleBar, DoubleAlternatingScaleBar, HollowScaleBar

public interface IDoubleFillScaleBar
extends Serializable

Provides access to members that control a scale bar that uses two fill symbols to draw bar.

Remarks

Double-fill scale bars are the most advanced scale bars. These use two symbols to create an attractive scale bar. There are currently three types of double-fill scale bars: alternating, double-alternating, and hollow. The graphic shows an example of each.


All double-fill scale bars implement the IDoubleFillScaleBar interface. This interface manages the two fill symbols used when rendering the scale bar.

See also IScaleBar.

Product Availability

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


Method Summary
 IFillSymbol getFillSymbol1()
          Symbol used to draw the bar.
 IFillSymbol getFillSymbol2()
          Symbol used to draw the bar.
 void setFillSymbol1(IFillSymbol symbol)
          Symbol used to draw the bar.
 void setFillSymbol2(IFillSymbol symbol)
          Symbol used to draw the bar.
 

Method Detail

getFillSymbol1

IFillSymbol getFillSymbol1()
                           throws IOException,
                                  AutomationException
Symbol used to draw the bar.

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.

setFillSymbol1

void setFillSymbol1(IFillSymbol symbol)
                    throws IOException,
                           AutomationException
Symbol used to draw the bar.

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.

getFillSymbol2

IFillSymbol getFillSymbol2()
                           throws IOException,
                                  AutomationException
Symbol used to draw the bar.

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.

setFillSymbol2

void setFillSymbol2(IFillSymbol symbol)
                    throws IOException,
                           AutomationException
Symbol used to draw the bar.

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.