• Introduction
  • Programmer's Guide
  • Technical Articles
  • API Documentation
Search Results for

    Show / Hide Table of Contents
    • ic4
      • BufferPool
      • DeviceEnum
      • DeviceInfo
      • Display
      • DisplayNotation
      • DisplayRenderPosition
      • DisplayStatistics
      • DisplayType
      • EmbeddedDisplay
      • ErrorCode
      • ExternalOpenGLDisplay
      • FloatRepresentation
      • FloatingDisplay
      • FrameMetaData
      • Grabber
      • HandleObject
      • IBufferAllocator
      • IC4Exception
      • IDisplay
      • ImageBuffer
      • ImageBuffer.CopyOptions
      • ImageBufferExtensions
      • ImageBufferExtensionsOpenCvSharp
      • ImageType
      • IntRepresentation
      • Interface
      • Library
      • LogLevel
      • LogTarget
      • PixelFormat
      • PixelFormatExtensions
      • PngCompressionLevel
      • PropBoolean
      • PropCategory
      • PropCommand
      • PropEnumEntry
      • PropEnumeration
      • PropFloat
      • PropId
      • PropIdBoolean
      • PropIdCommand
      • PropIdEnumeration
      • PropIdFloat
      • PropIdInteger
      • PropIdRegister
      • PropIdString
      • PropInteger
      • PropRegister
      • PropString
      • Property
      • PropertyIncrementMode
      • PropertyMap
      • PropertyType
      • PropertyVisibility
      • QueueSink
      • QueueSinkConnectedEventArgs
      • QueueSinkEventArgs
      • QueueSinkQueueSizes
      • Sink
      • SinkMode
      • SinkType
      • SnapSink
      • SnapSinkAllocationStrategy
      • StreamSetupOption
      • StreamStatistics
      • TransportLayerType
      • VersionInfoFlags
      • VideoWriter
      • VideoWriterType

    Class Library

    Static class containing global library initialization functions

    Inheritance
    object
    Library
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    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

    GetVersionInfo(VersionInfoFlags)

    Queries the library for version information about the core library and other relevant components.

    The version information is returned in a user-readable formatted string.

    Declaration
    public static string GetVersionInfo(VersionInfoFlags flags = VersionInfoFlags.Default)
    Parameters
    Type Name Description
    VersionInfoFlags flags

    Selects which version information to return.

    Returns
    Type Description
    string

    A user-readable string containing the requested version information.

    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

    In this article
    Copyright ©️ 2024 The Imaging Source Europe GmbH www.theimagingsource.com