KitchenDraw SDK 2
Show / Hide Table of Contents

Property TypeRank

TypeRank

Type rank of the catalog.

Declaration
public int TypeRank { get; }
Property Value
Type Description
int
Remarks

See the [Topics] section of the SPACE.INI file for the list of available catalog types and their names (e.g. 1 for "Kitchens and bathrooms", 3 for "Storage", 4 for "Household appliances", etc.). The integer value of a type rank is just before the equality sign (e.g. in Topic3=Storage, 9 the type rank is 3, while the type itself is 9). Type rank makes it easy to restore a type name by querying topic records from the SPACE.INI file.

Please be aware that these names are stored in French language in the SPACE.INI file, so you will probably need to translate them into a necessary language with the Dico class.

Type rank is zero-based, while Space.ini type records are 1-based. Because of that, 1 should be added to type ranks to correspond exactly to Space.ini records, which means that a name for the type with rank 0 can be obtained by reading Topic1 value of the [Topics] section.

In this article
Back to top Generated by DocFX