ImageGear .NET - Updated March 30, 2018
GetEnumerator Method (ImGearARTPage)
Example 




ImageGear24.Art Assembly > ImageGear.ART Namespace > ImGearARTPage Class : GetEnumerator Method
Gets the page enumerator class.
Syntax
'Declaration
 
Public Function GetEnumerator() As ImGearARTPageEnumerator
 
'Usage
 
Dim instance As ImGearARTPage
Dim value As ImGearARTPageEnumerator
 
value = instance.GetEnumerator()

Return Value

Example
// 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
See Also

Reference

ImGearARTPage Class
ImGearARTPage Members
ImGearARTPageEnumerator Class