Kanzi 3.9.10
kanzi::interop::TextFormatEnums Struct Reference

#include <kanzi/interop/autogen/core.ui/text/text_format_enums.hpp>

Public Types

enum  TextHorizontalAlignment { TextHorizontalAlignmentLeft , TextHorizontalAlignmentRight , TextHorizontalAlignmentCenter }
 Horizontal alignment options for text layout. More...
 
enum  TextVerticalAlignment { TextVerticalAlignmentTop , TextVerticalAlignmentBaseline , TextVerticalAlignmentCenter , TextVerticalAlignmentBottom }
 Vertical alignment options for text layout. More...
 
enum class  Truncation { None , AtCharacter , AtWord }
 Type of truncation boundary for the text that does not fit in the available space. More...
 
enum class  TruncationDirection { Trailing , Center , Leading }
 Part of the text to truncate, if the text does not fit in the available space. More...
 

Member Enumeration Documentation

◆ TextHorizontalAlignment

Horizontal alignment options for text layout.

Enumerator
TextHorizontalAlignmentLeft 

Text is aligned to the left.

TextHorizontalAlignmentRight 

Text is aligned to the right.

TextHorizontalAlignmentCenter 

Text is centered horizontally.

◆ TextVerticalAlignment

Vertical alignment options for text layout.

Enumerator
TextVerticalAlignmentTop 

Text is aligned to the top.

TextVerticalAlignmentBaseline 

Text is aligned to the baseline of the first line of the text.

TextVerticalAlignmentCenter 

Text is centered vertically.

TextVerticalAlignmentBottom 

Text is aligned to the bottom.

◆ Truncation

Type of truncation boundary for the text that does not fit in the available space.

Enumerator
None 

Disable truncation.

AtCharacter 

Truncate text character by character.

AtWord 

Truncate text by entire words.

◆ TruncationDirection

Part of the text to truncate, if the text does not fit in the available space.

Enumerator
Trailing 

Truncate the end part of the text.

Center 

Truncate the middle part of the text.

Leading 

Truncate the beginning part of the text.


The documentation for this struct was generated from the following file: