KitchenDraw SDK 2
Show / Hide Table of Contents

Method GetFinishTypeByTypeNumber

GetFinishTypeByTypeNumber(int)

Gets finish type from the finishes config by its type number. Throws an exception if given name doesn't exist in the finishes config.

Declaration
public Appli.CatalogFinishType GetFinishTypeByTypeNumber(int finishTypeNumber)
Parameters
Type Name Description
int finishTypeNumber
Returns
Type Description
Appli.CatalogFinishType
Exceptions
Type Condition
Sdk2Exception

Thrown if there is no finish type with given name in the finishes config. You can use TryGetFinishTypeByTypeNumber(int, out CatalogFinishType) to avoid this exception.

In this article
Back to top Generated by DocFX