xtd 0.2.0
string_trimming.hpp
Go to the documentation of this file.
1
4#pragma once
5#include <xtd/enum>
6
8namespace xtd {
10 namespace drawing {
31 }
32}
33
37};
string_trimming
Specifies how to trim characters from a string that does not completely fit into a layout shape.
Definition string_trimming.hpp:17
@ ellipsis_path
The center is removed from trimmed lines and replaced by an ellipsis. The algorithm keeps as much of ...
Definition string_trimming.hpp:29
@ none
Specifies no trimming.
Definition string_trimming.hpp:19
@ ellipsis_character
Specifies that the text is trimmed to the nearest character, and an ellipsis is inserted at the end o...
Definition string_trimming.hpp:25
@ ellipsis_word
Specifies that text is trimmed to the nearest word, and an ellipsis is inserted at the end of a trimm...
Definition string_trimming.hpp:27
@ character
Specifies that the text is trimmed to the nearest character.
Definition string_trimming.hpp:21
@ word
Specifies that text is trimmed to the nearest word.
Definition string_trimming.hpp:23
std::vector< std::pair< enum_t, xtd::string > > enum_collection
Represents a pair of an enum_t value and a string of an enum of type enum_t.
Definition enum_collection.hpp:24
The xtd::drawing namespace provides access to GDI+ basic graphics functionality. More advanced functi...
Definition actions_system_images.hpp:10
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition abstract_object.hpp:8
Provides the registration struct for enumerations.
Definition enum_register.hpp:38