API Reference

Cmdlet

Invoke-OfficePdfOcrMerge

Namespace PSWriteOffice
Outputs
OfficeIMO.Pdf.PdfOcrMergeResult

Runs an external OCR provider and merges recognized words with native PDF text.

Remarks

Runs an external OCR provider and merges recognized words with native PDF text.

Examples

Authored help example

EXAMPLE 1


Invoke-OfficePdfOcrMerge -Provider 'Value'
        

Common Parameters

This command supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable.

For more information, see about_CommonParameters.

Syntax

Invoke-OfficePdfOcrMerge [-IgnorePermissionRestrictions] [-Options <PdfOcrMergeOptions>] [-Password <String>] -Path <String> -Provider <IPdfOcrProvider> [-ReadOptions <PdfReadOptions>] [<CommonParameters>]
#
Parameter set: All Parameter Sets

Parameters

IgnorePermissionRestrictions SwitchParameter optionalposition: namedpipeline: False
After successful password authentication, explicitly ignore owner-imposed extraction restrictions.
Options PdfOcrMergeOptions optionalposition: namedpipeline: False
Optional page selection, DPI, confidence, overlap, and limits.
Password String optionalposition: namedpipeline: False
Password used to authenticate an encrypted PDF.
Path String requiredposition: 0pipeline: False
Source PDF path.
Provider IPdfOcrProvider requiredposition: namedpipeline: False
External OCR provider implementation.
ReadOptions PdfReadOptions optionalposition: namedpipeline: False
Optional bounded PDF parsing settings.

Outputs

OfficeIMO.Pdf.PdfOcrMergeResult