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


IGridLabel.LabelOffset Property (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (Carto)  

IGridLabel.LabelOffset Property

The offset of the grid label from the border in points.

[Visual Basic .NET]
Public Property LabelOffset As Double
[C#]
public double LabelOffset {get; set;}
[C++]
HRESULT get_LabelOffset(
  System.Double* offsetPoints
);
[C++]
HRESULT put_LabelOffset(
  double offsetPoints
);
[C++]

Parameters offsetPoints [out, retval]
offsetPoints is a parameter of type double* offsetPoints [in]
offsetPoints is a parameter of type double

Product Availability

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

Description

LabelOffset is the distance in points (approx. 1/72 inch) that your labels will be drawn outside of the map border. Use a negative number to inset the labels.

See Also

IGridLabel Interface

.NET Related Topics

Creating map grid labels