Leadtools.Controls Namespace : ControlTextTrimming Enumeration |
Leadtools.Controls.ControlTextTrimming = function() { };
Leadtools.Controls.ControlTextTrimming.prototype = {
none = 0,
character = 1,
word = 2,
ellipsisCharacter = 3,
ellipsisWord = 4,
ellipsisPath = 5,
};
Value | Member | Description |
---|---|---|
0 | none | Specifies no trimming. |
1 | character | Specifies that the text is trimmed to the nearest character. |
2 | word | Specifies that text is trimmed to the nearest word. |
3 | ellipsisCharacter | Specifies that the text is trimmed to the nearest character, and an ellipsis is inserted at the end of a trimmed line. |
4 | ellipsisWord | Specifies that text is trimmed to the nearest word, and an ellipsis is inserted at the end of a trimmed line. |
5 | ellipsisPath | The 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. |
Use by ImageViewer.ItemTextTrimming property.