iText 9.6.0 API
iText.Layout.Splitting.ISplitCharacters Interface Reference

Interface for customizing the split character. More...

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

Public Member Functions

bool  IsSplitCharacter (GlyphLine text, int glyphPos)
  The splitting implementation is free to look ahead or look behind characters to make a decision. More...
 

Detailed Description

Interface for customizing the split character.

Member Function Documentation

◆ IsSplitCharacter()

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

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
Returns
true if the line can be split after the character

Implemented in iText.Layout.Splitting.DefaultSplitCharacters, iText.Layout.Splitting.BreakAllSplitCharacters, and iText.Layout.Splitting.KeepAllSplitCharacters.