DataLoadBits property (Main Control)

C++ Builder example

Delphi example

 

Builder Syntax

int DataLoadBits

Delphi Syntax

DataLoadBits: Integer

Overview

Refer to Using a Data Source.

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