MKI_ObjectAddTextLong (Entity Creation) Changed in Version 2021.0

www.CAD6.com

C++ Syntax

bool

MKI_ObjectAddTextLong(

 const LPCWSTR f_pszText );

 

Adds a long text data block (MKI_DB_ALL_TEXT) to a previously opened temporary object (see MKI_ObjectOpen). This type of data block is usually used inside text objects (MKI_OBJ_TEXTSTANDARD, MKI_OBJ_TEXTFRAME and MKI_OBJ_TEXTREFERENCE).

 

Parameters

Text

[const LPCWSTR] Text to be stored in the text data block. The maximum length of Text is MKI_LENGTH_TEXT_LONG.

 

Return Value

Returns true if the data block was added successfully. If false is returned, this indicates that the object would be too large after adding this data block.

 

CAD6interface 2024.2 - Copyright 2024 Malz++Kassner® GmbH