TerminateAndSetSize (class MKI_BLOCK_ENUM) New in Version 2021.0

www.CAD6.com

C++ Syntax

bool

MKI_BLOCK_ENUM::TerminateAndSetSize( void );

 

Terminates the given entity's data block area by adding a MKI_DB_END data block at the current offset and then setting the overall byte size of m_pEntity including that data block.

 

Although you can technically add further data blocks after this MKI_DB_END block, those data blocks will be ignored in subsequent operations such as enumerating, copying, and saving!

 

Return Value

Returns true if successful or false if the resulting entity would be invalid or too long.

 

CAD6interface 2025.0 - Copyright 2025 Malz++Kassner® GmbH