System::Drawing::StringTrimming enum

StringTrimming enum

Specifies how characters should be trimmed from a string that does not fit the layout shape.

enum class StringTrimming

Values

NameValueDescription
None0No trimming.
Character1Trim to the nearest character.
Word2Trim to the nearest word.
EllipsisCharacter3Trim to the nearest character and insert ellipsis at the end of the string.
EllipsisWord4Trim to the nearest word and insert ellipsis at the end of the string.
EllipsisPath5The center is removed from trimmed lines and replaced by an ellipsis. Keep as much of the last slash-delimited segment of the line as possible.

See Also