GpStringTrimming enumeration
Specifies how characters are trimmed from a string so that it fits into the layout rectangle.
Trimming affects only the last visible or partly visible line of text.
| Member | Value | Description |
|---|---|---|
| StringTrimmingNone | 0 | No trimming. |
| StringTrimmingCharacter | 1 | The string is cut at the last character that fits in the layout rectangle. |
| StringTrimmingWord | 2 | The string is cut at the last word that fits in the layout rectangle. |
| StringTrimmingEllipsisCharacter | 3 | The string is cut at the last character that fits, and an ellipsis (…) follows that character. |
| StringTrimmingEllipsisWord | 4 | The string is cut at the last word that fits, and an ellipsis (…) follows that word. |
| StringTrimmingEllipsisPath | 5 | The middle of the string is removed and replaced with an ellipsis. As much as possible of the last part of the string is kept. |
Used by
- StringFormat class: Trimming
See Also
- StringTrimming – Microsoft’s documentation of the GDI+ enumeration
- Enumerations – all the enumerations of the package
- StringFormat class