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


IGraticule.AddElement Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Carto)  

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 _
)
[C#]
public void AddElement (
    string Label,
    double Location,
    bool isLatitude,
    ITextSymbol LabelSymbol
);
[C++]
HRESULT AddElement(
  BSTR Label,
  double Location,
  VARIANT_BOOL isLatitude,
  ITextSymbol* LabelSymbol
);
[C++]

Parameters 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 VARIANT_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