Set or get the default bits per pixel of the data expected by the graphics device.
public int BitsPerPixel { get; set; }
Public Property BitsPerPixel As Integer
Valid values are 0, 1, 2, 3, 4, 5, 6, 7, 8, 12, 16, 24, 32, 48, and 64.
The image data will need to be converted to these bits per pixel before the RasterImagePaintCallbackFunction.StretchDIBitsCallback callback. The conversion will be performed by the built-in conversion function or the RasterImagePaintCallbackFunction.ConvertLineCallback callback
For an example, refer to RasterPaintDibInfo.
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET