Object 35 "Standard Text" (Entities) Changed in Version 2021.0

www.CAD6.com

Data Block Sequence

Data Block 110( Text )

- Text (ElemCount = MKI_LENGTH_TEXT_LONG)

Data Block 235( ... )

- Standard text parameters

 

The value Text contains the text to be displayed. Its length may be up to MKI_LENGTH_TEXT_LONG characters including the terminating zero character (0x00).

 

In order to achieve a tabulator, use the character ¬ (Unicode 172). For a line feed, use the character ¶ (Unicode 182). All other characters will be displayed using the given font. Characters below Unicode 32 will be ignored.

 

Attributes New in Version 2021.0

A standard text may contain attribute data blocks (see MKI_BLOCK_ATTRIBUTE) only of type "local". They must be placed behind all other datablocks. Attributes of types "outline" and "point" must not exist. The total number of local attributes per object is limited to MKI_ATTRIBS_PER_OBJECT.

 

Interface Command Sequence

MKI_ObjectOpen, Type = MKI_OBJ_TEXTSTANDARD

MKI_ObjectAddTextLong, StaticLength = false

MKI_ObjectAddTextStandard

MKI_ObjectFastInsert

 

Use the MKI_PARSE_OBJ_TEXTSTANDARD class to parse the data blocks of such an object in memory.

 

CAD6interface 2024.2 - Copyright 2024 Malz++Kassner® GmbH