|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IScaleMarks
Provides access to members that control the scale bar mark properties.
The IScaleMarks interface manages all of the properties of a scale bar that relate to the individual marks, including the division and subdivision marks heights and symbols, the marks frequency, and their position.
On the scale bar above, the tallest marks are the divisions and the smallest the subdivisions. You can control their height by setting the DivisionMarkHeight and SubdivisionMarkHeight properties.
You can also define the line symbols used for divisions and subdivisions with DivisionMarkSymbol and SubdivisionMarkSymbol. In this example the symbols where redefined as cartographic line symbols with butt ends.
The MarkPosition is an esriVertPosEnum constant that defines the position of the marks relatively to the line. On our example it is set to esriOn which results in marks centered on the line.
The MarkFrequency is an esriScaleBarFrequency constant that defines on which divisions and subdivisions the marks will be shown. Our example uses the value esriScaleBarDivisionsAndFirstSubdivisions to display the subdivisions only between the first divisions.
Method Summary | |
---|---|
double |
getDivisionMarkHeight()
Height of division marks in points (1/72 inch). |
ILineSymbol |
getDivisionMarkSymbol()
Symbol used to draw the division marks. |
int |
getMarkFrequency()
Mark frequency. |
int |
getMarkPosition()
Vertical positioning of the marks relative to the bar. |
double |
getSubdivisionMarkHeight()
Height of subdivision marks in points (1/72 inch). |
ILineSymbol |
getSubdivisionMarkSymbol()
Symbol used to draw the subdivision marks. |
void |
setDivisionMarkHeight(double points)
Height of division marks in points (1/72 inch). |
void |
setDivisionMarkSymbol(ILineSymbol symbol)
Symbol used to draw the division marks. |
void |
setMarkFrequency(int frequency)
Mark frequency. |
void |
setMarkPosition(int position)
Vertical positioning of the marks relative to the bar. |
void |
setSubdivisionMarkHeight(double points)
Height of subdivision marks in points (1/72 inch). |
void |
setSubdivisionMarkSymbol(ILineSymbol symbol)
Symbol used to draw the subdivision marks. |
Method Detail |
---|
ILineSymbol getDivisionMarkSymbol() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setDivisionMarkSymbol(ILineSymbol symbol) throws IOException, AutomationException
symbol
- A reference to a com.esri.arcgis.display.ILineSymbol (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.ILineSymbol getSubdivisionMarkSymbol() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setSubdivisionMarkSymbol(ILineSymbol symbol) throws IOException, AutomationException
symbol
- A reference to a com.esri.arcgis.display.ILineSymbol (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.double getDivisionMarkHeight() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setDivisionMarkHeight(double points) throws IOException, AutomationException
points
- The points (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.double getSubdivisionMarkHeight() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setSubdivisionMarkHeight(double points) throws IOException, AutomationException
points
- The points (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getMarkPosition() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setMarkPosition(int position) throws IOException, AutomationException
position
- A com.esri.arcgis.carto.esriVertPosEnum constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getMarkFrequency() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setMarkFrequency(int frequency) throws IOException, AutomationException
frequency
- A com.esri.arcgis.carto.esriScaleBarFrequency constant (in)
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 |