Cmdlet
Export-OfficePdfLayoutOverlay
Exports PDF word, line, region, and reading-order diagnostics as PNG or SVG.
Syntax
Export-OfficePdfLayoutOverlay [-Format <Png|Svg>] [-IgnorePermissionRestrictions] [-LayoutOptions <PdfTextLayoutOptions>] [-Options <PdfLayoutDebugOverlayOptions>] [-OutputPath] <String> [-Page <Int32>] [-PassThru] [-Password <String>] [-Path] <String> [-ReadOptions <PdfLoadOptions>] [-Scale <Double>] [<CommonParameters>]#Parameter set:
All Parameter SetsExamples
Export an SVG layout overlay for the first page.
$result = Export-OfficePdfLayoutOverlay -Path .\Report.pdf -OutputPath .\Report-layout.svg -Page 1 -Format Svg -PassThruParameters
- -Format OfficeImageExportFormat
- Output image format. Layout overlays support only PNG and SVG.
- Possible values:
Png,Svg - -IgnorePermissionRestrictions SwitchParameter
- After successful password authentication, explicitly ignore owner-imposed extraction restrictions.
- -LayoutOptions PdfTextLayoutOptions
- Optional text layout settings.
- -Options PdfLayoutDebugOverlayOptions
- Optional overlay elements, colors, and limits.
- -OutputPath String
- Destination PNG or SVG path.
- -Page Int32
- One-based page number.
- -PassThru SwitchParameter
- Emit the structured image export result.
- -Password String
- Password used to authenticate an encrypted PDF.
- -Path String
- Source PDF path.
- -ReadOptions PdfLoadOptions
- Optional bounded PDF parsing settings.
- -Scale Double
- Output scale.
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.