OcrOptions constructor
Leave feedback
On this page
Initializes a new instance of the OcrOptions class with rectangular area.
def __init__(self):
...
Initializes a new instance of the OcrOptions class with rectangular area.
def __init__(self, page_preview_options):
...
| Parameter | Type | Description |
|---|---|---|
| page_preview_options | groupdocs.parser.options.PagePreviewOptions | An instance of OcrOptions.page_preview_options class that sets properties for the document page preview generation. |
Initializes a new instance of the OcrOptions class with rectangular area.
def __init__(self, rectangle):
...
| Parameter | Type | Description |
|---|---|---|
| rectangle | groupdocs.parser.data.Rectangle | The rectangular area that constraints the page area which is used for text recognizing. |
Initializes a new instance of the OcrOptions class with OcrEventHandler object.
def __init__(self, handler):
...
| Parameter | Type | Description |
|---|---|---|
| handler | groupdocs.parser.options.OcrEventHandler | An instance of OcrEventHandler to catch OCR events. |
Initializes a new instance of the OcrOptions class with rectangular area and OcrEventHandler object.
def __init__(self, rectangle, handler):
...
| Parameter | Type | Description |
|---|---|---|
| rectangle | groupdocs.parser.data.Rectangle | The rectangular area that constraints the page area which is used for text recognizing. |
| handler | groupdocs.parser.options.OcrEventHandler | An instance of OcrEventHandler to catch OCR events. |
Initializes a new instance of the OcrOptions class.
def __init__(self, rectangle, handler, page_preview_options, use_spell_cheker):
...
| Parameter | Type | Description |
|---|---|---|
| rectangle | groupdocs.parser.data.Rectangle | The rectangular area that constraints the page area which is used for text recognizing. |
| handler | groupdocs.parser.options.OcrEventHandler | An instance of OcrEventHandler to catch OCR events. |
| page_preview_options | groupdocs.parser.options.PagePreviewOptions | An instance of OcrOptions.page_preview_options class that sets properties for the document page preview generation. |
| use_spell_cheker | bool | The value that indicates whether the spell checker is used. |
- module
groupdocs.parser.options - class
OcrEventHandler - class
OcrOptions
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.