Class CharIterator
CharIterator is an iterator type that can be used to traverse CharData in the current e_text element. For a sample use case, please take a look at ElementReaderAdv sample project.
Implements
Inherited Members
Namespace: pdftron.PDF
Assembly: PDFTronDotNet.dll
Syntax
public class CharIterator : Iterator<CharData>, IDisposable
Methods
Current()
Gets the current CharData
value
Declaration
public override CharData Current()
Returns
Type | Description |
---|---|
CharData | current Unicode value |
Overrides
Equals(object)
checks if this CharData object is the same as the given object
Declaration
public bool Equals(object o)
Parameters
Type | Name | Description |
---|---|---|
object | o | a given object |
Returns
Type | Description |
---|---|
bool | true if equals to the give object |
Operators
operator ==(CharIterator, CharIterator)
Equality operator checks whether two CharData objects are the same
Declaration
public static bool operator ==(CharIterator l, CharIterator r)
Parameters
Type | Name | Description |
---|---|---|
CharIterator | l | the |
CharIterator | r | the |
Returns
Type | Description |
---|---|
bool | true if both objects are equal |
operator !=(CharIterator, CharIterator)
Inequality operator checks whether two CharData objects are different
Declaration
public static bool operator !=(CharIterator l, CharIterator r)
Parameters
Type | Name | Description |
---|---|---|
CharIterator | l | the |
CharIterator | r | the |
Returns
Type | Description |
---|---|
bool | true if both objects are not equal |