StringTrimming Enum
NuGet: GHIElectronics.TinyCLR.Drawing
Assembly: GHIElectronics.TinyCLR.Drawing
Namespace: System.Drawing
Specifies how text is trimmed when it does not fit in the layout rectangle.
public enum StringTrimming
Fields
| Name | Value | Description |
|---|---|---|
None | 0 | Text is not trimmed. |
Character | 1 | Text is trimmed to the nearest character. |
Word | 2 | Text is trimmed to the nearest word. |
EllipsisCharacter | 3 | Text is trimmed to the nearest character and an ellipsis is inserted. |
EllipsisWord | 4 | Text is trimmed to the nearest word and an ellipsis is inserted. |
EllipsisPath | 5 | The center of a path is removed and replaced with an ellipsis. |