[]
        
(Showing Draft Content)

GrapeCity.Documents.Common.OutputRange.GetEnumerator

GetEnumerator Method

GetEnumerator(int, int)

Creates and returns a new enumerator that allows looping through all pages in the range.

Declaration
public IEnumerator<int> GetEnumerator(int minPageNumber, int maxPageNumber)
Public Function GetEnumerator(minPageNumber As Integer, maxPageNumber As Integer) As IEnumerator(Of Integer)
Parameters
Type Name Description
int minPageNumber

The starting page number (used if the current range is from the beginning of a document).

int maxPageNumber

The ending page number (used if the current range is to the end of a document).

Returns
Type Description
IEnumerator<int>

The new enumerator.

GetEnumerator(int)

Creates and returns a new enumerator that allows looping through all pages in the range.

Declaration
public IEnumerator<int> GetEnumerator(int maxPageNumber)
Public Function GetEnumerator(maxPageNumber As Integer) As IEnumerator(Of Integer)
Parameters
Type Name Description
int maxPageNumber

The ending page number (used if the current range is to the end of a document).

Returns
Type Description
IEnumerator<int>

The new enumerator.

GetEnumerator()

Creates and returns a new enumerator that allows looping through all pages in the range.

Declaration
public IEnumerator<int> GetEnumerator()
Public Function GetEnumerator() As IEnumerator(Of Integer)
Returns
Type Description
IEnumerator<int>

The new enumerator.