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


IRepresentationGraphics.NextGeometry Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Display > ESRI.ArcGIS.Display > Interfaces > IR > IRepresentationGraphics Interface > IRepresentationGraphics.NextGeometry Method
ArcGIS Developer Help

IRepresentationGraphics.NextGeometry Method

Accesses the next geometry in a representation graphic.

[Visual Basic .NET]
Public Sub NextGeometry ( _
    ByRef ID As Integer, _
    ByRef Geometry As IGeometry _
)
[C#]
public void NextGeometry (
    ref int ID,
    ref IGeometry Geometry
);
[C++]
HRESULT NextGeometry(
  System.Int32* ID,
  IGeometry** Geometry
);
[C++]
Parameters
ID [out]

ID is a parameter of type long* Geometry [out]
Geometry is a parameter of type IGeometry**

Product Availability

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

Remarks

NextGeometry method can be used to call the geometries present in a RepresentationGraphics or RepresentationMarker. Reset method has to be called prior to calling this method as this will reset the collection of geometries to the starting.

See Also

IRepresentationGraphics Interface