BitDepth Property

NI Vision for Visual Basic

BitDepth Property

Syntax

CWIMAQImage.BitDepth

Data Type

Long

Purpose

Bit depth of the image.

Remarks

This property applies only to U16, I16 and RGBU64 images. The value must be from 8 to 16 for U16 images, from 8 to 15 for I16 images, and from 8 to 16 for RGBU64 images, or 0. A value of 0 indicates that NI Vision should use the entire range of the image datatype.