DataLoadBits property (ILEADRasterOLEDB)

Visual Basic example

Visual C++ 5.0 example

Delphi 4 example

C++ Builder example

 

Syntax

short DataLoadBits

Overview

Refer to Using the OLE DB Control.

Remarks

(Persistent property, available at design time) Specifies the bits per pixel for the bitmap that is loaded into memory from a database field.

Support for 12 and 16-bit grayscale images is only available in the Document/Medical toolkits.

Possible values are:

Value

Meaning

0

Keep the original field's pixel depth (Do not convert).

1

1 bit per pixel in the resultant bitmap

4

4 bits per pixel in the resultant bitmap

8

8 bits per pixel in the resultant bitmap

12

12 bits per pixel in the resultant bitmap

16

16 bits per pixel in the resultant bitmap

24

24 bits per pixel in the resultant bitmap

32

32 bits per pixel in the resultant bitmap

See Also

Topics:

Databases: LEADRasterOLEDB