IfcTextAlignment

BACnet MVD

#### IfcTextAlignment

Natural language names

| Text Alignment
| Alignement de texte

##### Semantic definitions at the type

Type definition

The IfcTextAlignment describes how text is aligned within the element. Values are:

- left
- right
- center
- justify

> NOTE Definition according to Cascading Style Sheets, level 1
> The actual justification algorithm used is user agent and human language dependent. If 'justify' is not supported, the user agent will supply a replacement. Typically, this will be 'left' for western languages.

> NOTE Type adopted from text-align defined in CSS-1.

> HISTORY New type in IFC2x3.

Formal Propositions

Rule | Description
--- | ---
WR1 | Allowable values for text alignment.

##### Formal representations

XML Specification
`<xs:simpleType name="IfcTextAlignment">
<xs:restriction base="xs:normalizedString"/>
</xs:simpleType>
`
EXPRESS Specification
`TYPE IfcTextAlignment = STRING;
WHERE
WR1 : SELF IN ['left', 'right', 'center', 'justify']
END_TYPE;

EXPRESS-G diagram

`

References: IfcTextStyleTextModel

Link to this page