ArcGIS Pro 3.8 API Reference Guide
ArcGIS.Core.OCR Namespace / OCROptions Class / OCROptions Constructor / OCROptions Constructor(String)
The document file.

In This Topic
    OCROptions Constructor(String)
    In This Topic
    Creates an instance of the OCROptions.
    Syntax
    public OCROptions( 
       string documentFileName
    )
    Public Function New( _
       ByVal documentFileName As String _
    )

    Parameters

    documentFileName
    The document file.
    Remarks
    The following file extensions are supported - pdf, tif, tiff, jpg, jpeg, png and bmp. See IsValidDocumentForOCR to ensure the document file extension is supported.
    Requirements

    Target Platforms: Windows 11 Home, Pro, Enterprise (64 bit)

    ArcGIS Pro version: 3.8 or higher.
    See Also