This document is archived and information here might be outdated.  Recommended version.

IReferenceSystem Interface (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IR > IReferenceSystem Interface
ArcGIS Developer Help

IReferenceSystem Interface

Provides access to basic properties and methods provided by every reference system (grids, graticules, etc).

Product Availability

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


Name Description
Method BoundsChanged Called when the extent of the parent map frame changes.
Method Draw Draws the map grid for a map frame to the given display.
Method GenerateGraphics Generates graphic elements corresponding to the grid lines and stores them in the specified graphics container.
Read/write property LabelFormat The format for reference labels.
Read/write property Name The name of the map grid.
Method PrepareForOutput Prepares the map grid for output to a device.
Method QueryBounds The extent of the reference system in page space.
Method SetDefaults Sets the properties of the map grid to default values.
Read/write property Visible Indicates if the map grid is visible.

Classes that implement IReferenceSystem

Classes Description
CustomOverlayGrid A custom map grid.
Graticule A map grid that divides the map with meridians and parallels.
IndexGrid A map grid that divides the map into a grid for indexing.
MeasuredGrid A map grid that divides the map into a grid of units in any coordinate system.
MgrsGrid The Military Grid Reference System (MGRS) object.