ImageGear .NET v25.2 - Updated
GetEnumerator Method (ImGearARTPage)
Example 




ImageGear.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()
public ImGearARTPageEnumerator GetEnumerator()
public: ImGearARTPageEnumerator* GetEnumerator(); 
public:
ImGearARTPageEnumerator^ 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

Is this page helpful?
Yes No
Thanks for your feedback.