MKI_ProfileReadNamedXProperty (Settings) New in Version 2020.0

www.CAD6.com

C++ Syntax

__int32

MKI_ProfileReadNamedXProperty(

 const LPCWSTR f_pszValueName,

 MKI_NAMED_XPROPERTY_REF f_rValue );

 

Reads an extended property set from a previously opened key in the configuration file or a collection item. All elements will be referenced by names, not by indexes.

 

Parameters

ValueName

[const LPCWSTR] Name of the value inside the plug-in's key, up to 63 characters. This value name must be unique throughout all values stored by the plug-in. Use a point as separator for nested value names and brackets for arrays (e.g. "UserData[5].Name").

Value

[MKI_NAMED_XPROPERTY_REF] Address of a buffer that is to receive the named extended property set if successful. Layer, pen, and line type will be read as names. The corresponding indexes will set according to the current drawing's elements, if possible.

 

Return Value

Returns a combination of result and warnings as described in MKI_PROFILE_*.

 

CAD6interface 2025.0 - Copyright 2025 Malz++Kassner® GmbH