Object 37 "Reference Text" (Entities) Changed in Version 2021.0 |
www.CAD6.com |
Data Block SequenceData Block 000( x1, y1 ) - Reference point Data Block 001( x2, y2 ) - Arrow split point Data Block 110( Text ) - Text (ElemCount = MKI_LENGTH_TEXT_LONG) Data Block 235( ... ) - Standard text parameters Data Block 237( ... ) - Reference 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.0A reference 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 SequenceMKI_ObjectOpen, Type = MKI_OBJ_TEXTREFERENCE MKI_ObjectAddPoint, Type = MKI_DB_POINT_ANY MKI_ObjectAddPoint, Type = MKI_DB_POINT_ANY MKI_ObjectAddTextLong, StaticLength = false
Use the MKI_PARSE_OBJ_TEXTREFERENCE class to parse the data blocks of such an object in memory.
|
CAD6interface 2024.2 - Copyright 2024 Malz++Kassner® GmbH