Chapter 11   HALCON/.NET Interface

11.0.1   Specifying the Namespace

To be able to use the HALCON/.NET classes without prefixing them with their namespace, we recommend that you specify this namespace at the beginning of each source file (for example, see the example MatchingForm.cs)) by adding the following line:

using HalconDotNet;

Visual Basic .NET applications: The corresponding Visual Basic .NET code is (for example, see MatchingForm.vb):

Imports HalconDotNet

C++ Applications: The corresponding managed C++ code is (for example, see MatchingForm.h):

  using namespace HalconDotNet;