[]
Trim text overflowing the layout box. Do not take into account justification.
TextLayoutResult TrimTextLines(string text, Font font, float width, float height, TextLayoutParams param)
| Type | Name | Description |
|---|---|---|
| string | text | |
| Font | font | |
| float | width | Width in inches |
| float | height | Height in inches |
| TextLayoutParams | param |
| Type | Description |
|---|---|
| TextLayoutResult |