Show / Hide Table of Contents

# Class FontCharCodeIterator

FontCharCodeIterator is an iterator type that can be used to traverse a list of visible char codes in a font embedded in PDF. For more information, please take a look at Font.getCodeIterator().

##### Inheritance

object
FontCharCodeIterator

##### Implements

IDisposable

##### Inherited Members

object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()

###### Namespace: pdftron.PDF

###### Assembly: PDFNet.dll

##### Syntax

    public class FontCharCodeIterator : IDisposable

### Methods

#### Current()

Gets the current Uncode value

##### Declaration

    public int Current()

##### Returns

Type | Description
--- | ---
int | current Unicode value

#### Dispose()

Releases all resources used by the FontCharCodeIterator

##### Declaration

    public override sealed void Dispose()

#### Dispose(bool)

##### Declaration

    [HandleProcessCorruptedStateExceptions]
    protected virtual void Dispose(bool A_0)

##### Parameters

Type | Name | Description
--- | --- | ---
bool | A_0 |

#### ~FontCharCodeIterator()

Allows a FontCharCodeIterator to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.

##### Declaration

    protected ~FontCharCodeIterator()

#### HasNext()

Determines if the iteration has more elements.

##### Declaration

    public bool HasNext()

##### Returns

Type | Description
--- | ---
bool | Returns true if the iteration has more elements.

#### Next()

Iterates to the next object in the iteration

##### Declaration

    public void Next()

### Implements

IDisposable