Data Types

Document Imaging SDK data types are defined in the BITIFF.H header file. Below is a complete listing.

DATA TYPE

DESCRIPTION

BYTETYPE

An 8-bit unsigned integer (BYTE).

ASCIITYPE

Eight-bit bytes that store ASCII codes. The last byte must be ‘\0’.

SHORTTYPE

A 16-bit (2-byte) unsigned integer (WORD).

LONGTYPE

A 32-bit (4-byte) unsigned integer (DWORD).

RATIONALTYPE

Two LONGTYPEs. The first LONGTYPE represents the numerator of a fraction; the second, the denominator.