ImageGear .NET
GetEnumerator Method (ImGearARTPage)
Example 




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

 

 


©2017. Accusoft Corporation. All Rights Reserved.

Send Feedback