This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Display > ESRI.ArcGIS.Display > Interfaces > IR > IRepresentationGraphics Interface > IRepresentationGraphics.NextGeometry Method (ArcObjects .NET 10.5 SDK) |
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
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.