You can use HDevelop programs or procedures in two ways in your .NET application:
The latter method is described in this section.
In most cases, you will manually integrate the exported code into your application. To quickly test the exported code, you can integrate it into the so-called template project (available for C# and Visual Basic .NET) in the subdirectory HDevelopTemplate (or HDevelopTemplateWPF, depending on your preferred GUI platform) as follows:
The exported code does not use the classes like HImage described in the previous chapter. Instead, all operators are called via the special class HOperatorSet. Iconic parameters are passed via the class HObject (which is the base class of HImage, HRegion, and HXLD), control parameters via the class HTuple.
You can combine the exported code easily with “normal” HALCON/.NET code because iconic classes provide constructors that initialize them with instances of HObject. Furthermore, iconic classes can be passed to methods that expect an HObject.