iText 7 7.1.10 API
iText.Layout.Font.Range Class Reference

Ordered range for FontInfo.GetFontUnicodeRange(). More...

Inherited by iText.Layout.Font.Range.FullRange.

Classes

class   FullRange
 
class   SubRange
 

Public Member Functions

virtual bool  Contains (int n)
  Binary search over ordered segments. More...
 
override bool  Equals (Object o)
 
override int  GetHashCode ()
 
override String  ToString ()
 

Detailed Description

Ordered range for FontInfo.GetFontUnicodeRange().

Ordered range for FontInfo.GetFontUnicodeRange(). To create a custom Range instance RangeBuilder shall be used.

Member Function Documentation

◆ Contains()

virtual bool iText.Layout.Font.Range.Contains ( int  n )
inlinevirtual

Binary search over ordered segments.

Parameters
n numeric character reference based on the character's Unicode code point
Returns
true if this Range contains the specified code point, otherwise false