xtd 0.2.0
Loading...
Searching...
No Matches
string trimming

Definition

string trimming definitions.

Warning
Internal use only

Variables

constexpr xtd::int32 ST_NONE
 Specifies no trimming.
 
constexpr xtd::int32 ST_CHARACTER
 Specifies that the text is trimmed to the nearest character.
 
constexpr xtd::int32 ST_WORD
 Specifies that text is trimmed to the nearest word.
 
constexpr xtd::int32 ST_ELLIPSIS_CHARACTER
 Specifies that the text is trimmed to the nearest character, and an ellipsis is inserted at the end of a trimmed line.
 
constexpr xtd::int32 ST_ELLIPSIS_WORD
 Specifies that text is trimmed to the nearest word, and an ellipsis is inserted at the end of a trimmed line.
 
constexpr xtd::int32 ST_ELLIPSIS_PATH
 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.
 

Variable Documentation

◆ ST_NONE

constexpr xtd::int32 ST_NONE
constexpr

#include <xtd.drawing.native/include/xtd/drawing/native/string_trimmings.h>

Specifies no trimming.

Library
xtd.drawing.native
Remarks
Added specifically for xtd.
Warning
Internal use only

◆ ST_CHARACTER

constexpr xtd::int32 ST_CHARACTER
constexpr

#include <xtd.drawing.native/include/xtd/drawing/native/string_trimmings.h>

Specifies that the text is trimmed to the nearest character.

Library
xtd.drawing.native
Remarks
Added specifically for xtd.
Warning
Internal use only

◆ ST_WORD

constexpr xtd::int32 ST_WORD
constexpr

#include <xtd.drawing.native/include/xtd/drawing/native/string_trimmings.h>

Specifies that text is trimmed to the nearest word.

Library
xtd.drawing.native
Remarks
Added specifically for xtd.
Warning
Internal use only

◆ ST_ELLIPSIS_CHARACTER

constexpr xtd::int32 ST_ELLIPSIS_CHARACTER
constexpr

#include <xtd.drawing.native/include/xtd/drawing/native/string_trimmings.h>

Specifies that the text is trimmed to the nearest character, and an ellipsis is inserted at the end of a trimmed line.

Library
xtd.drawing.native
Remarks
Added specifically for xtd.
Warning
Internal use only

◆ ST_ELLIPSIS_WORD

constexpr xtd::int32 ST_ELLIPSIS_WORD
constexpr

#include <xtd.drawing.native/include/xtd/drawing/native/string_trimmings.h>

Specifies that text is trimmed to the nearest word, and an ellipsis is inserted at the end of a trimmed line.

Library
xtd.drawing.native
Remarks
Added specifically for xtd.
Warning
Internal use only

◆ ST_ELLIPSIS_PATH

constexpr xtd::int32 ST_ELLIPSIS_PATH
constexpr

#include <xtd.drawing.native/include/xtd/drawing/native/string_trimmings.h>

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.

Library
xtd.drawing.native
Remarks
Added specifically for xtd.
Warning
Internal use only