|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IGridLabel2
Provides additional access to members that control the way a map grid is labeled.
| Method Summary | |
|---|---|
void |
draw(double labelValue,
IPoint location,
int axis,
IDisplay display)
Draws a label on the specified grid axis. |
IColor |
getColor()
The color of the grid label. |
String |
getDisplayName()
The display name for the type of grid label. |
Object |
getEditObject()
The interface to an object that can be edited with a property sheet. |
Font |
getFont()
The font used by the grid label. |
double |
getFontSize()
The font size used by the grid label. |
double |
getLabelOffset()
The offset of the grid label from the border in points. |
boolean |
isApplies(IMapGrid grid)
Indicates if this grid label can be used with the specified map grid. |
boolean |
isLabelAlignment(int axis)
Indicates if the grid label is horizontal (true) or vertical (false) on the specified axis. |
void |
preview(int hDC,
tagRECT rectangle)
Draws a preview of the grid label into the specified hdc. |
void |
queryTextExtent(double labelValue,
IPoint location,
int axis,
IDisplay display,
IEnvelope extent)
Determines the extent of a label's text on the specified grid axis. |
void |
setColor(IColor color)
The color of the grid label. |
void |
setEditObject(Object ppObject)
The interface to an object that can be edited with a property sheet. |
void |
setFont(Font font)
The font used by the grid label. |
void |
setFontSize(double size)
The font size used by the grid label. |
void |
setLabelAlignment(int axis,
boolean horizontal)
Indicates if the grid label is horizontal (true) or vertical (false) on the specified axis. |
void |
setLabelOffset(double offsetPoints)
The offset of the grid label from the border in points. |
| Method Detail |
|---|
String getDisplayName()
throws IOException,
AutomationException
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
boolean isApplies(IMapGrid grid)
throws IOException,
AutomationException
grid - A reference to a com.esri.arcgis.carto.IMapGrid (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
Object getEditObject()
throws IOException,
AutomationException
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void setEditObject(Object ppObject)
throws IOException,
AutomationException
ppObject - A reference to another Object (IUnknown) (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
Font getFont()
throws IOException,
AutomationException
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void setFont(Font font)
throws IOException,
AutomationException
font - A reference to a com.esri.arcgis.support.ms.stdole.Font (A com.esri.arcgis.support.ms.stdole.Font COM typedef) (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
IColor getColor()
throws IOException,
AutomationException
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void setColor(IColor color)
throws IOException,
AutomationException
color - A reference to a com.esri.arcgis.display.IColor (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
double getLabelOffset()
throws IOException,
AutomationException
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void setLabelOffset(double offsetPoints)
throws IOException,
AutomationException
offsetPoints - The offsetPoints (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
boolean isLabelAlignment(int axis)
throws IOException,
AutomationException
axis - A com.esri.arcgis.carto.esriGridAxisEnum constant (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void setLabelAlignment(int axis,
boolean horizontal)
throws IOException,
AutomationException
axis - A com.esri.arcgis.carto.esriGridAxisEnum constant (in)horizontal - The horizontal (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void queryTextExtent(double labelValue,
IPoint location,
int axis,
IDisplay display,
IEnvelope extent)
throws IOException,
AutomationException
labelValue - The labelValue (in)location - A reference to a com.esri.arcgis.geometry.IPoint (in)axis - A com.esri.arcgis.carto.esriGridAxisEnum constant (in)display - A reference to a com.esri.arcgis.display.IDisplay (in)extent - A reference to a com.esri.arcgis.geometry.IEnvelope (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void draw(double labelValue,
IPoint location,
int axis,
IDisplay display)
throws IOException,
AutomationException
labelValue - The labelValue (in)location - A reference to a com.esri.arcgis.geometry.IPoint (in)axis - A com.esri.arcgis.carto.esriGridAxisEnum constant (in)display - A reference to a com.esri.arcgis.display.IDisplay (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void preview(int hDC,
tagRECT rectangle)
throws IOException,
AutomationException
hDC - The hDC (A COM typedef) (in)rectangle - A Structure: com.esri.arcgis.system.tagRECT (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
double getFontSize()
throws IOException,
AutomationException
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void setFontSize(double size)
throws IOException,
AutomationException
size - The size (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 | ||||||||