iText 7 7.1.9 API
iText.Layout.Splitting.ISplitCharacters Interface Reference

Interface for customizing the split character. More...

Inheritance diagram for iText.Layout.Splitting.ISplitCharacters:
iText.Layout.Splitting.DefaultSplitCharacters

Public Member Functions

bool  IsSplitCharacter (GlyphLine text, int glyphPos)
  Returns true if the character can split a line. More...
 

Detailed Description

Interface for customizing the split character.

Member Function Documentation

◆ IsSplitCharacter()

bool iText.Layout.Splitting.ISplitCharacters.IsSplitCharacter ( GlyphLine  text,
int  glyphPos 
)

Returns true if the character can split a line.

Returns true if the character can split a line. The splitting implementation is free to look ahead or look behind characters to make a decision.

Parameters
glyphPos the position of iText.IO.Font.Otf.Glyph in the iText.IO.Font.Otf.GlyphLine
text an array of unicode char codes which represent current text

Implemented in iText.Layout.Splitting.DefaultSplitCharacters.