Object 36 "Frame Text" (Entity Type "Object") Changed in Version 2021.0

www.CAD6.com

 

Data Block Sequence

Data Block 000( Start )

Data Block 000( Line )

Data Block 000( Feed )

Data Block 110( Text )

Data Block 236( Options )

 

Parameters

Start

[MKI_POINT] Starting corner of the text frame.

Line

[MKI_POINT] Defines the direction and end of each text line in relation to the first point.

Feed

[MKI_POINT] Defines the process direction in relation to the first point, i.e. the direction into which the base line is moved after each line.

Text

[MKI_STRLONGW] Comment 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. See also Advanced Text Capabilities.

Long lines will be broken either at the characters   (Unicode 32), - (Unicode 45) or ¬ (Unicode 172). The characters   (Unicode 160) and - (Unicode 173) will not be used as word-breaks. A single word will newer be broken, even if it might be larger than the text frame! Characters below Unicode 32 will be ignored.

Options

[MKI_TEXTFRAME] Frame text parameters.

 

Attributes New in Version 2021.0

A frame 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 attributes per local object is limited to MKI_ATTRIBS_PER_OBJECT.

 

Interface Command Sequence

MKI_ObjectOpen, Type = MKI_OBJ_TEXTFRAME

MKI_ObjectAddPoint, Type = MKI_DB_POINT_ANY

MKI_ObjectAddPoint, Type = MKI_DB_POINT_ANY

MKI_ObjectAddPoint, Type = MKI_DB_POINT_ANY

MKI_ObjectAddTextLong, StaticLength = false

MKI_ObjectAddTextFrame

MKI_ObjectFastInsert

 

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

 

CAD6interface 2025.1 - Copyright 2025 Malz++Kassner® GmbH