com.esri.arcgis.carto
Interface ICornerGridLabel

All Superinterfaces:
Serializable
All Known Implementing Classes:
CornerGridLabel

public interface ICornerGridLabel
extends Serializable

Provides access to members that control the corner properties of grid labels.

Remarks

Corner grid labels provide additional control over the labels at the corners of the grid than the other labels along the axis of measured and MGRS grids.

The CornerLabel property is a boolean defining if the label at a given corner has a special format. The CornerValue property is a double containing the numeric value of the corner label for each corner.

The following illustration shows corner labels on a measured grid.

Product Availability

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


Method Summary
 double getCornerValue(int corner, int axis)
          The corner value at the specified corner and axis.
 boolean isCornerLabel(int corner)
          Indicates if the specified corner should be displayed as a special corner label.
 void setCornerLabel(int corner, boolean isCorner)
          Indicates if the specified corner should be displayed as a special corner label.
 void setCornerValue(int corner, int axis, double value)
          The corner value at the specified corner and axis.
 

Method Detail

isCornerLabel

boolean isCornerLabel(int corner)
                      throws IOException,
                             AutomationException
Indicates if the specified corner should be displayed as a special corner label.

Product Availability

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

Parameters:
corner - A com.esri.arcgis.carto.esriGridCornerEnum constant (in)
Returns:
The isCorner
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setCornerLabel

void setCornerLabel(int corner,
                    boolean isCorner)
                    throws IOException,
                           AutomationException
Indicates if the specified corner should be displayed as a special corner label.

Product Availability

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

Parameters:
corner - A com.esri.arcgis.carto.esriGridCornerEnum constant (in)
isCorner - The isCorner (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getCornerValue

double getCornerValue(int corner,
                      int axis)
                      throws IOException,
                             AutomationException
The corner value at the specified corner and axis.

Product Availability

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

Parameters:
corner - A com.esri.arcgis.carto.esriGridCornerEnum constant (in)
axis - A com.esri.arcgis.carto.esriGridAxisEnum constant (in)
Returns:
The value
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setCornerValue

void setCornerValue(int corner,
                    int axis,
                    double value)
                    throws IOException,
                           AutomationException
The corner value at the specified corner and axis.

Product Availability

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

Parameters:
corner - A com.esri.arcgis.carto.esriGridCornerEnum constant (in)
axis - A com.esri.arcgis.carto.esriGridAxisEnum constant (in)
value - The value (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.