This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IG > IGraticule Interface > IGraticule.AddElement Method (ArcObjects .NET 10.4 SDK) |
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