[]
DsPdfJS API / TrimmingGranularity
Specifies the text granularity used to trim text overflowing the layout box.
Character:
1
Trimming occurs at a character cluster boundary.
None:
0
No trimming occurs. Text flows beyond the layout width or height.
Word:
2
Trimming occurs at a word boundary.