Table of Contents

Enum DocumentType

Namespace
AiDotNet.Document
Assembly
AiDotNet.dll

Types of documents supported by document AI models.

[Flags]
public enum DocumentType

Fields

All = -1

All document types supported.

BusinessDocument = 1

Business documents like invoices, receipts, purchase orders, and contracts.

Form = 4

Structured forms with fields, checkboxes, and signatures.

Handwritten = 32

Handwritten documents and notes.

Infographic = 256

Charts, diagrams, and infographics.

Letter = 16

Letters and general correspondence.

None = 0

No specific document type.

Report = 8

Business and financial reports with complex layouts.

ScannedDocument = 64

General scanned documents.

ScientificPaper = 2

Scientific and academic papers with figures, tables, and citations.

WebPage = 128

Screenshots of web pages.

Remarks

For Beginners: Document AI models can be specialized for different document types. Use these flags to specify which types a model supports or to filter processing. Multiple types can be combined using the | operator.