ImageGear Professional for Windows ActiveX
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

 

 


©2016. Accusoft Corporation. All Rights Reserved.

Send Feedback