DataLoadBits property (Main Control)

Visual Basic example
Other systems

Syntax short DataLoadBits

Overview:  Refer to Using a Visual Basic Data 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 .

Use this property when the Main Control is bound to a data control using the DataSource and DataField properties.

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: Visual Basic Data Binding