Skip to main content

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

NameValueDescription
None0Text is not trimmed.
Character1Text is trimmed to the nearest character.
Word2Text is trimmed to the nearest word.
EllipsisCharacter3Text is trimmed to the nearest character and an ellipsis is inserted.
EllipsisWord4Text is trimmed to the nearest word and an ellipsis is inserted.
EllipsisPath5The center of a path is removed and replaced with an ellipsis.