Class IDeviceCompatExtensions
Inheritance
IDeviceCompatExtensions
Assembly: NixUniversalSDK.dll
Syntax
public static class IDeviceCompatExtensions
Methods
HasOptions(IDeviceCompat)
Declaration
public static bool HasOptions(this IDeviceCompat device)
Parameters
Returns
IsFeatureSupported(IDeviceCompat, LicenseFeature)
Helper to check if a particular LicenseFeature is supported by this device.
Declaration
public static bool IsFeatureSupported(this IDeviceCompat device, LicenseFeature feature)
Parameters
Returns
IsModeSupported(IDeviceCompat, ScanMode)
Helper to check if a particular scan mode is supported by this device (i.e. - checks if the mode is present in the SupportedModes list). This value is valid only after a connection has successfully been opened.
Declaration
public static bool IsModeSupported(this IDeviceCompat device, ScanMode mode)
Parameters
Returns
ProvidesColor(IDeviceCompat, Illuminant, Observer)
Helper to check if a particular reference white point is supported by the colorimetry data from this device (i.e - checks if the reference is present in the SupportedReferences list`).
Declaration
public static bool ProvidesColor(this IDeviceCompat device, Illuminant illuminant, Observer observer)
Parameters
Returns
ProvidesColor(IDeviceCompat, ReferenceWhite)
Helper to check if a particular reference white point is supported by the colorimetry data from this device (i.e - checks if the reference is present in the SupportedReferences list`).
Declaration
public static bool ProvidesColor(this IDeviceCompat device, ReferenceWhite reference)
Parameters
Returns