ArcObjects Library Reference (Display)  

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(
  long* 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