Class Library

Static class containing global library initialization functions

Inheritance

Library
Namespace: ic4
Assembly: ic4dotnet.dll
Syntax
public static class Library

Properties

IsInitialized

Checks whether the library was initialized by a successful call to Init(LogLevel, LogLevel, LogTarget, string).

Declaration

public static bool IsInitialized { get; }
Property Value
Type Description
bool

Methods

Init(LogLevel, LogLevel, LogTarget, string)

Initializes the IC Imaging Control 4 .NET library.

Declaration

public static void Init(LogLevel apiLogLevel = LogLevel.Off, LogLevel internalLogLevel = LogLevel.Off, LogTarget logTargets = LogTarget.None, string logFilePath = null)

Parameters

Type Name Description
LogLevel apiLogLevel

Configures the API log level for the library.

LogLevel internalLogLevel

Configures the internal log level for the library.

LogTarget logTargets

Configures the log targets.

string logFilePath

If logTargets includes File, specifies the log file to use.

Exceptions

Type Condition
NotSupportedException

The platform is not supported