Class PageIterator
PageIterator is an iterator type that can be used to traverse a list pages in a PDF document. For more information, please PDFDoc.GetPageIterator().
Implements
Inherited Members
Namespace: pdftron.PDF
Assembly: PDFNetiOS.dll
Syntax
public class PageIterator : Iterator<Page>, IDisposable
Methods
Current()
Gets the current Page
object
Declaration
public override Page Current()
Returns
Type | Description |
---|---|
Page | current |
Overrides
Equals(Object)
Checks whether this PageIterator
is the same as the specified object.
Declaration
public bool Equals(object o)
Parameters
Type | Name | Description |
---|---|---|
System.Object | o | a given |
Returns
Type | Description |
---|---|
System.Boolean | true, if equals to the given object |
GetPageNumber()
Gets the page number
Declaration
public int GetPageNumber()
Returns
Type | Description |
---|---|
System.Int32 | page number |
Set(PageIterator)
Sets value to the given PageIterator
object
Declaration
public void Set(PageIterator p)
Parameters
Type | Name | Description |
---|---|---|
PageIterator | p | given |
Operators
Equality(PageIterator, PageIterator)
Equality operator checks whether two PageIterator
objects are the same.
Declaration
public static bool operator ==(PageIterator l, PageIterator r)
Parameters
Type | Name | Description |
---|---|---|
PageIterator | l | a |
PageIterator | r | a |
Returns
Type | Description |
---|---|
System.Boolean | true, if both |
Inequality(PageIterator, PageIterator)
Inequality operator checks whether two PageIterator
objects are different.
Declaration
public static bool operator !=(PageIterator l, PageIterator r)
Parameters
Type | Name | Description |
---|---|---|
PageIterator | l | a |
PageIterator | r | a |
Returns
Type | Description |
---|---|
System.Boolean | true, if both |