|
Extended Object 151 "Code PDF417" (Entity Type "Extended Object") New in Version 2026.1 |
www.CAD6.com |
|
The extended object "Code PDF417" is defined by CAD6studio and CAD6industrie.
This type of bar code is used for various purposes.
The default size is 1/2 millimeter per unit. The actual size and position is defined by the extended object's m_cDisplayMatrix.
Creation of this extended object is not supported in CAD6starter and CAD6engine Eco! If already created, it can be displayed and modified generally, but not modified parametrically.
Data Block SequenceData Block 1012( AlignMode, Height, Mode, Unused ) Data Block 1013( Text )
ParametersAlignMode [__int32] Alignment mode for the code, see MKI_ALIGNMODE_*. Height [__int32] Height of each row in 1/10 units. Valid range: 10 ≤ x ≤ 50. Typical value is 30. Mode [__int32] Bit-wise OR combination of flags that enable special modes. The following flags are defined: 0x00000001 The MicroPDF417 format shall be used. This reduces the maximum length significantly.
Otherwise, the normal PDF417 format is used. The maximum length is 1,800 characters. Unused [__int32] Unused, set to 0. Text [MKI_STRSHORTW] Text to be encoded. Its length may be up to MKI_LENGTH_TEXT_SHORT characters including the terminating zero character (0x00). See also Advanced Text Capabilities. The result may contain digits only. The maximum encodable length is 1,800 characters.
Interface Command SequenceMKI_ExtOpen, OwnerID = MKI_DB_OWNER_MK, Type = MKI_OBJ_EXT_CODE_PDF417, Flag = MKI_EXTFLAG_TEXT MKI_ExtAddInt32, Type = 1012, ElemCount = 4 MKI_ExtAddText, Type = 1013, Static = false
Use code like the following to parse the data blocks of this entity in memory:
MKI_BLOCK_ENUM b1012( f_pExt ), b1013( f_pExt ); b1013.SetNext( b1012 );
__int32 nAlignMode = b1012.Int32(0); __int32 nHeight = b1012.Int32(1); __int32 nMode = b1012.Int32(2);
|
CAD6interface 2026.1 - Copyright 2026 Malz++Kassner® GmbH