ImageGear Professional v18.2 > User Guide > Using ImageGear > Using ImageGear ARTX Component > Working with ART Marks > Iterating Through Marks |
Sometimes your application will need to iterate through the marks in an IGArtXPage Object. This can be done by using "foreach" mechanism:
For example, to delete all the selected marks, your application would do the following:
Copy Code
|
|
---|---|
Dim i As IIGArtXMark Set i = artPage.MarkFirst While Not i Is Nothing If artPage.MarkIsSelected(i) Then ... End If Set i = artPage.MarkNext(i) Wend |