Table of Contents

Class Range

Namespace
iText.Layout.Font
Assembly
itext.layout.dll

Class represents ordered list of Range.SubRange.

public class Range
Inheritance
Range
Inherited Members

Remarks

Class represents ordered list of Range.SubRange. This class is used in FontInfo as internal field and in one of the overloads of the AddFont(string, string, Range) method as range of characters to be used in font.

To create a custom Range instance RangeBuilder shall be used.

Methods

Contains(int)

Binary search over ordered segments.

public virtual bool Contains(int n)

Parameters

n int

numeric character reference based on the character's Unicode code point

Returns

bool

true if this Range contains the specified code point, otherwise false

Equals(object)

public override bool Equals(object o)

Parameters

o object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

ToString()

public override string ToString()

Returns

string