This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IM > IMapGrid Interface > IMapGrid.Border Property (ArcObjects .NET 10.5 SDK) |
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
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.