API Reference

Cmdlet

ConvertTo-OfficePdfMarkdown

Namespace PSWriteOffice
Inputs
System.String
Outputs
System.String System.IO.FileInfo

Converts PDF logical text readback to Markdown.

Remarks

Converts PDF logical text readback to Markdown.

Examples

Authored help example

Export logical PDF text as Markdown.

PS>


$markdownPath = '.\Examples\Documents\Report.md'
            ConvertTo-OfficePdfMarkdown -Path .\Examples\Documents\Report.pdf -PageRange '1-3' -OutputPath $markdownPath
            Get-Content $markdownPath -TotalCount 20
        

Writes Markdown readback for selected pages to a file.

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

ConvertTo-OfficePdfMarkdown [-OutputPath <String>] [-PageRange <String>] [-Password <String>] -Path <String> [<CommonParameters>]
#
Parameter set: All Parameter Sets

Parameters

OutputPath String optionalposition: namedpipeline: False
Optional output Markdown file path.
PageRange String optionalposition: namedpipeline: False
Optional page ranges such as 1-3,5.
Password String optionalposition: namedpipeline: False
Password used to read a Standard password-encrypted PDF.
Path String requiredposition: 0pipeline: True (ByValue)aliases: FilePath
PDF file path.

Outputs

System.String System.IO.FileInfo