---
Product: Aspose.PDF
Platform: go
Page Type: reference
Canonical URL: https://reference.aspose.org/pdf/go/ocroptions
---

# OcrOptions

## Overview

`OcrOptions` is a type in Aspose.PDF FOSS for Go.

OcrOptions configures an OcrCopilot.

Properties: `All`, `DPI`, `Document`, `Font`, `Pages`.

## Properties

| Name | Type | Access | Description |
|------|------|--------|-------------|
| `Document` | `*pdf.Document` | Read/Write | Gets the document. |
| `Pages` | `[]int` | Read/Write | Gets the pages. |
| `All` | `bool` | Read/Write | Gets the all. |
| `DPI` | `float64` | Read/Write | Gets the dpi. |
| `Font` | `pdf.Font` | Read/Write | Gets the font. |

## See Also

- [Aspose.PDF — Enterprise API Reference](https://reference.aspose.com/pdf/)