> ## Documentation Index
> Fetch the complete documentation index at: https://docs.abbyy.com/llms.txt
> Use this file to discover all available pages before exploring further.

# DocumentTypeEnum

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

| Name                   | Description                                          |
| ---------------------- | ---------------------------------------------------- |
| DT\\\_Auto             | Detect the document type automatically.              |
| DT\\\_BankCard         | A bank card.                                         |
| DT\\\_Book             | A book page or several pages.                        |
| DT\\\_BusinessCard     | A business card.                                     |
| DT\\\_DiscountCard     | A discount or loyalty card.                          |
| DT\\\_Document         | A single-page document.                              |
| DT\\\_Id               | An ID document.                                      |
| DT\\\_NotDocument      | Not a document: for example, simply a picture photo. |
| DT\\\_Passport         | A passport double-page spread.                       |
| DT\\\_PassportPage     | A passport page.                                     |
| DT\\\_Receipt          | A receipt.                                           |
| DT\\\_TechnicalDrawing | An engineering diagram.                              |
| DT\\\_Unknown          | This constant is only for internal use.              |

## Used in

[IPrepareImageMode::DocumentType](/fine-reader/engine/api-reference/image-related-objects/prepareimagemode#documenttype)
