# PageSegmentationMode Enum

> Specify how the OCR engine will view the page, and how it detects text segments.

- Product: Adobe PDF Library 21
- Language: .NET Framework
- Version: APDFL21.0.0PlusP1e
- HTML page: https://docs.datalogics.com/apdfl21/DotNetFramework/APDFL21.0.0PlusP1e/enum/PageSegmentationMode
- Version index: https://docs.datalogics.com/apdfl21/DotNetFramework/APDFL21.0.0PlusP1e/llms.txt

**Namespace:** `Datalogics::PDFL`

## Description

Specify how the OCR engine will view the page, and how it detects text segments.

## Values

- `OSDOnly = 0`: Orientation and script detection (OSD).
- `AutomaticOSD = 1`: Automatic page segmentation with OSD.
- `Automatic = 2`: Automatic without OSD.
- `SingleColumn = 3`: Assume a single column of text.
- `SingleBlockVertical = 4`: Assume a single block of vertically aligned text.
- `SingleBlock = 5`: Assume a single block of text.
- `SingleLine = 6`: Assume a single line of text.
- `SingleWord = 7`: Assume a single word.
- `CircleWord = 8`: Assume a single word in a circle.
- `SingleChar = 9`: Assume a single char.
- `SparseText = 10`: Find all text in no particular order.
- `SparseTextOSD = 11`: Sparse text with OSD.
- `RawLine = 12`: Treat as a raw line with no input processing.
