Version

TextTrimming Enumeration

Specifies how text will be rendered when there is not enough room to display the entire string.
Syntax
'Declaration
 
Public Enum TextTrimming 
   Inherits System.Enum
public enum TextTrimming : System.Enum 
Members
MemberDescription
CharacterThe text is trimmed to the nearest character.
CharacterWithLineLimitThe text is trimmed to the nearest character.
DefaultThe default trimming.
EllipsisCharacterThe text is trimmed to the nearest character, and an ellipsis is inserted at the end of a trimmed line.
EllipsisCharacterWithLineLimitThe text is trimmed to the nearest character, and an ellipsis is inserted at the end of a trimmed line.
EllipsisPathThe center is removed from trimmed lines and replaced by an ellipsis. The algorithm keeps as much of the last slash-delimited segment of the line as possible.
EllipsisPathWithLineLimitThe center is removed from trimmed lines and replaced by an ellipsis. The algorithm keeps as much of the last slash-delimited segment of the line as possible.
EllipsisWordThe text is trimmed to the nearest word, and an ellipsis is inserted at the end of a trimmed line.
EllipsisWordWithLineLimitThe text is trimmed to the nearest word, and an ellipsis is inserted at the end of a trimmed line.
NoneNo trimming
NoneWithLineLimitNo trimming
WordThe text is trimmed to the nearest word.
WordWithLineLimitThe text is trimmed to the nearest word.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also