Skip to main content
DocumentTypeEnum enumeration constants are used to define possible document types.
typedef enum {
 DT_Auto,
 DT_Unknown,
 DT_Receipt,
 DT_BusinessCard,
 DT_Document,
 DT_Book,
 DT_Id,
 DT_Passport,
 DT_DiscountCard,
 DT_BankCard,
 DT_NotDocument,
 DT_PassportPage,
 DT_TechnicalDrawing
} DocumentTypeEnum;

Elements

NameDescription
DT\_AutoDetect the document type automatically.
DT\_BankCardA bank card.
DT\_BookA book page or several pages.
DT\_BusinessCardA business card.
DT\_DiscountCardA discount or loyalty card.
DT\_DocumentA single-page document.
DT\_IdAn ID document.
DT\_NotDocumentNot a document: for example, simply a picture photo.
DT\_PassportA passport double-page spread.
DT\_PassportPageA passport page.
DT\_ReceiptA receipt.
DT\_TechnicalDrawingAn engineering diagram.
DT\_UnknownThis constant is only for internal use.

Used in

IPrepareImageMode::DocumentType