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


IMapGrid.Border Property (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Carto)  

IMapGrid.Border Property

The map grid border.

[Visual Basic .NET]
Public Property Border As IMapGridBorder
[C#]
public IMapGridBorder Border {get; set;}
[C++]
HRESULT get_Border(
  IMapGridBorder** gridBorder
);
[C++]
HRESULT put_Border(
  IMapGridBorder* gridBorder
);
[C++]

Parameters gridBorder [out, retval]
gridBorder is a parameter of type IMapGridBorder gridBorder [in]
gridBorder is a parameter of type IMapGridBorder

Product Availability

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

Description

Border is the border that will be drawn around the map. Note that your LabelOffset will need to accomodate your border's width. There are two types of borders: ICalibratedMapBorder and ISimpleMapBorder.

See Also

IMapGrid Interface

.NET Related Topics

How to create map grids