# Export-OfficePdfLayoutOverlay

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

Cmdlet 

**Module**

`PSWriteOffice`

**Inputs**

`System.String[]`

**Outputs**

`OfficeIMO.Drawing.OfficeImageExportResult`

**Source**

[ExportOfficePdfLayoutOverlayCommand.cs:15](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/PowerShell/PSWriteOffice/Sources/PSWriteOffice/Cmdlets/Pdf/ExportOfficePdfLayoutOverlayCommand.cs#L15) 

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>]
```

[#](#member-d56e53b8a137ebb9da8a0f97)

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>]
```

[#](#member-b26e49f76102d0d83efce7d7)

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>]
```

[#](#member-7ff7ded63153df6c87a25a68)

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>]
```

[#](#member-fa867f6e4bfd09858a919bed)

Parameter set: `LiteralPathDirectory`

## Examples

### Export literal-file diagnostics.

```powershell
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](https://learn.microsoft.com/powershell/module/microsoft.powershell.core/about/about_commonparameters).

<!-- PowerForge markdown artifact sha256:D1D92C06108E54F31C02CCA0D2EECDAD76245E3D52DEA9C505BBF0E4E5DCA12E -->
