ImageGear21.Art Assembly > ImageGear.ART Namespace > ImGearARTPage Class : GetEnumerator Method |
'Declaration Public Function GetEnumerator() As ImGearARTPageEnumerator
'Usage Dim instance As ImGearARTPage Dim value As ImGearARTPageEnumerator value = instance.GetEnumerator()
public ImGearARTPageEnumerator GetEnumerator()
public: ImGearARTPageEnumerator* GetEnumerator();
public: ImGearARTPageEnumerator^ GetEnumerator();
// Iterate through art marks on the page, foreach uses ImGearARTPage.GetEnumerator() // to get a ImGearARTPageEnumerator which is used for the foreach. foreach( ImGearARTMark igARTMark in igARTPage) { //Move the art mark. igARTMark.Move(50, 50); }
' Iterate through art marks on the page, foreach uses ImGearARTPage.GetEnumerator() ' to get a ImGearARTPageEnumerator which is used for the foreach. For Each igARTMark As ImGearARTMark In igARTPage 'Move the art mark. igARTMark.Move(50, 50) Next