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


IMapGrid.Border Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IM > IMapGrid Interface > IMapGrid.Border Property
ArcGIS Developer Help

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