Class GetOcrArgs
Arguments for the asynchronous `get_ocr_async` route. Exactly one of `file_id`, `path`, or `url` must be supplied via `file_id_or_url` to identify the image or PDF whose text should be extracted via OCR (optical character recognition).
Inherited Members
Namespace: Dropbox.Api.Riviera
Assembly: Dropbox.Api.dll
Syntax
public class GetOcrArgs
Constructors
View SourceGetOcrArgs(FileIdOrUrl)
Initializes a new instance of the GetOcrArgs class.
Declaration
public GetOcrArgs(FileIdOrUrl fileIdOrUrl = null)
Parameters
| Type | Name | Description |
|---|---|---|
| FileIdOrUrl | fileIdOrUrl | Identifier of the file to run OCR on. Callers must set
exactly one of the |
Properties
View SourceFileIdOrUrl
Identifier of the file to run OCR on. Callers must set exactly one of the `FileIdOrUrl` variants. OCR is supported for image files and PDFs, including scanned / non-text PDFs; see the route description for the supported formats. Requests against unsupported formats return `unsupported_format_error`. NOTE: for the `url` variant, only Dropbox shared links (www.dropbox.com) are supported. External (non-Dropbox) URLs are not supported and return `unsupported_format_error`; import the file into Dropbox and reference it by `file_id` or `path` instead.
Declaration
public FileIdOrUrl FileIdOrUrl { get; protected set; }
Property Value
| Type | Description |
|---|---|
| FileIdOrUrl |