Kanzi 3.9.10
TextFormatEnums.TruncationDirection Enum Reference

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

Inheritance diagram for TextFormatEnums.TruncationDirection:
[legend]

Public Member Functions

 TruncationDirection (int value)
 Constructs a TruncationDirection of an integer value.
 
 TruncationDirection (TruncationDirection enum_)
 Constructs a copy of a TruncationDirection object.
 
int getValue ()
 Returns the integer value of the enumeration constant.
 
final int swigValue ()
 Returns the integer value of the enumeration constant.
 

Static Public Member Functions

static TruncationDirection swigToEnum (int swigValue)
 Converts an integer value to the matching enumeration constant.
 
static TruncationDirection toEnum (int value)
 Converts an integer value to the matching enumeration constant.
 

Public Attributes

 Center =(1)
 Truncate the middle part of the text.
 
 Leading =(2)
 Truncate the beginning part of the text.
 
 Trailing =(0)
 Truncate the end part of the text.
 

Detailed Description

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

Constructor & Destructor Documentation

◆ TruncationDirection() [1/2]

Constructs a TruncationDirection of an integer value.

Parameters
valueInteger value to convert to enumeration constant.

◆ TruncationDirection() [2/2]

Constructs a copy of a TruncationDirection object.

Parameters
enum_TruncationDirection to be copy constructed.

Member Function Documentation

◆ getValue()

int getValue ( )

Returns the integer value of the enumeration constant.

Returns
Integer value.

Implements Enum.

◆ swigToEnum()

static TruncationDirection swigToEnum ( int swigValue)
static

Converts an integer value to the matching enumeration constant.

Used internally by SWIG generated code.

Parameters
swigValueInteger value to convert to enumeration constant.
Returns
Enumeration constant matching the integer value.

◆ swigValue()

final int swigValue ( )

Returns the integer value of the enumeration constant.

Used internally by SWIG generated code.

Returns
Integer value.

◆ toEnum()

static TruncationDirection toEnum ( int value)
static

Converts an integer value to the matching enumeration constant.

Parameters
valueInteger value to convert to enumeration constant.
Returns
Enumeration constant matching the integer value.