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

IGraticule.AddElement Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IG > IGraticule Interface > IGraticule.AddElement Method
ArcGIS Developer Help

IGraticule.AddElement Method

Adds a grid line at custom location to the graticule.

[Visual Basic .NET]
Public Sub AddElement ( _
    ByVal Label As String, _
    ByVal Location As Double, _
    ByVal isLatitude As Boolean, _
    ByVal LabelSymbol As ITextSymbol _
public void AddElement (
    string Label,
    double Location,
    bool isLatitude,
    ITextSymbol LabelSymbol
HRESULT AddElement(
  BSTR Label,
  double Location,
  VARIANT_BOOL isLatitude,
  ITextSymbol* LabelSymbol
Label [in]

Label is a parameter of type BSTR Location [in]
Location is a parameter of type double isLatitude [in]
isLatitude is a parameter of type bool LabelSymbol [in]
LabelSymbol is a parameter of type ITextSymbol*

Product Availability

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

See Also

IGraticule Interface