Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Cmdlet

Export-OfficePdfLayoutOverlay

Module
PSWriteOffice
Inputs
System.String[]
Outputs
OfficeIMO.Drawing.OfficeImageExportResult

Exports native PDF word, line, region and reading-order diagnostics as PNG or SVG.

Syntax

Export-OfficePdfLayoutOverlay
[-Format <OfficeImageExportFormat>]
[-IgnorePermissionRestrictions]
[-LayoutOptions <PdfTextLayoutOptions>]
[-LoadOptions <PdfLoadOptions>]
[-NoClobber]
[-Options <Object[]>]
-OutputPath <String>
[-Page <Int32>]
[-PassThru]
[-Password <SecureString>]
[-Path] <String[]>
[-Scale <Double>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
#
Parameter set: Path
Export-OfficePdfLayoutOverlay
[-Format <OfficeImageExportFormat>]
[-IgnorePermissionRestrictions]
[-LayoutOptions <PdfTextLayoutOptions>]
[-LoadOptions <PdfLoadOptions>]
[-NoClobber]
[-Options <Object[]>]
-OutputDirectory <String>
[-Page <Int32>]
[-PassThru]
[-Password <SecureString>]
[-Path] <String[]>
[-Scale <Double>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
#
Parameter set: PathDirectory
Export-OfficePdfLayoutOverlay
[-Format <OfficeImageExportFormat>]
[-IgnorePermissionRestrictions]
[-LayoutOptions <PdfTextLayoutOptions>]
-LiteralPath <String[]>
[-LoadOptions <PdfLoadOptions>]
[-NoClobber]
[-Options <Object[]>]
-OutputPath <String>
[-Page <Int32>]
[-PassThru]
[-Password <SecureString>]
[-Scale <Double>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
#
Parameter set: LiteralPath
Export-OfficePdfLayoutOverlay
[-Format <OfficeImageExportFormat>]
[-IgnorePermissionRestrictions]
[-LayoutOptions <PdfTextLayoutOptions>]
-LiteralPath <String[]>
[-LoadOptions <PdfLoadOptions>]
[-NoClobber]
[-Options <Object[]>]
-OutputDirectory <String>
[-Page <Int32>]
[-PassThru]
[-Password <SecureString>]
[-Scale <Double>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
#
Parameter set: LiteralPathDirectory

Examples

Export literal-file diagnostics.

Export-OfficePdfLayoutOverlay -LiteralPath './Report[1].pdf' -OutputPath ./Report-layout.svg -Page 1 -Format Svg -PassThru

Parameters

-Format OfficeImageExportFormat optional
Format setting.
Possible values: Png, Svg, Jpeg, Tiff, Webp, Bmp, Pbm, Tga, Icon
-IgnorePermissionRestrictions SwitchParameter optional
IgnorePermissionRestrictions setting.
-LayoutOptions PdfTextLayoutOptions optional
LayoutOptions setting.
-LoadOptions PdfLoadOptions optional
Native parsing, authentication and resource policy.
-NoClobber SwitchParameter optional
NoClobber setting.
-Options Object[] optional
Options setting.
-OutputPath String requiredsets: Path, LiteralPath
Single-file destination.
-Page Int32 optional
Page setting.
-PassThru SwitchParameter optional
Return native annotation edit reports.
-Password SecureString optional
Password setting.
-Path String[] requiredposition: 0sets: Path, PathDirectory
Input PDF paths with wildcard expansion.
-Scale Double optional
Scale setting.
-WhatIf SwitchParameter optional
Shows what would happen if the command runs.
-Confirm SwitchParameter optional
Prompts for confirmation before running the command.
-OutputDirectory String requiredsets: PathDirectory, LiteralPathDirectory
Batch destination retaining source names.
-LiteralPath String[] requiredpipeline: True (ByPropertyName)aliases: FullName, PSPathsets: LiteralPath, LiteralPathDirectory
Literal input PDF paths; accepts FileInfo.FullName.

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.