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


IGridLabelExport.CreateElement Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Carto)  

IGridLabelExport.CreateElement Method

Creates a graphic element for a label on the specified grid axis.

[Visual Basic .NET]
Public Function CreateElement ( _
    ByVal LabelValue As Double, _
    ByVal Location As IPoint, _
    ByVal axis As esriGridAxisEnum, _
    ByVal Display As IDisplay _
) As IElement
[C#]
public IElement CreateElement (
    double LabelValue,
    IPoint Location,
    esriGridAxisEnum axis,
    IDisplay Display
);
[C++]
HRESULT CreateElement(
  double LabelValue,
  IPoint* Location,
  esriGridAxisEnum axis,
  IDisplay* Display,
  IElement** graphic
);
[C++]

Parameters LabelValue [in] LabelValue is a parameter of type double Location [in]
Location is a parameter of type IPoint axis [in]
axis is a parameter of type esriGridAxisEnum Display [in]
Display is a parameter of type IDisplay graphic [out, retval]
graphic is a parameter of type IElement

Product Availability

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

See Also

IGridLabelExport Interface