MKI_TEXTMODE_* (Horizontal Text Aligment)

www.CAD6.com

The horizontal text alignment mode states the position of the text relative to the insertion point. It can be one of the following values:

 

MKI_TEXTMODE_LEFT (0)

The insertion point defines the left end-point of the text's baseline, i.e. the text will be displayed left-aligned OR the text will be displayed left-aligned inside the surrounding frame.

 

MKI_TEXTMODE_CENTER (1)

The insertion point defines the center-point of the text's baseline, i.e. the text will be displayed centered OR the text will be displayed centered inside the surrounding frame.

 

MKI_TEXTMODE_RIGHT (2)

The insertion point defines the right end-point of the text's baseline, i.e. the text will be displayed right-aligned OR the text will be displayed right-aligned inside the surrounding frame.

 

MKI_TEXTMODE_BLOCK (3)

The text will be displayed justified. The last line of each paragraph and lines containing a single word will be display left-aligned. For justification, the word gaps made up by the character ' ' (Ansi 32) will be enlarged. Word gaps made up by the character ' ' (Ansi 160) will not be enlarged, i.e. Ansi 160 is a "fixed space".

 

CAD6interface 2024.2 - Copyright 2024 Malz++Kassner® GmbH