# Get-OfficePdfInteractionMap

Builds text-selection and interactive hit regions for one page.

Cmdlet 

**Module**

`PSWriteOffice`

**Inputs**

`OfficeIMO.Pdf.PdfDocument` `System.String[]`

**Outputs**

`OfficeIMO.Pdf.PdfPageInteractionMap`

**Source**

[GetOfficePdfInteractionMapCommand.cs:13](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/PowerShell/PSWriteOffice/Sources/PSWriteOffice/Cmdlets/Pdf/GetOfficePdfInteractionMapCommand.cs#L13) 

Builds text-selection and interactive hit regions for one page.

## Syntax

```
Get-OfficePdfInteractionMap
[-IgnorePermissionRestrictions]
[-LoadOptions <PdfLoadOptions>]
[-Options <Object[]>]
[-Page <Int32>]
[-Password <SecureString>]
[-Path] <String[]>
[<CommonParameters>]
```

[#](#method-get-officepdfinteractionmap-switchparameter-pdfloadoptions-object-int32-securestring-string)

Parameter set: `Path`

```
Get-OfficePdfInteractionMap
[-IgnorePermissionRestrictions]
-LiteralPath <String[]>
[-LoadOptions <PdfLoadOptions>]
[-Options <Object[]>]
[-Page <Int32>]
[-Password <SecureString>]
[<CommonParameters>]
```

[#](#method-get-officepdfinteractionmap-switchparameter-string-pdfloadoptions-object-int32-securestring)

Parameter set: `LiteralPath`

```
Get-OfficePdfInteractionMap
-Document <PdfDocument>
[-Options <Object[]>]
[-Page <Int32>]
[<CommonParameters>]
```

[#](#method-get-officepdfinteractionmap-pdfdocument-object-int32)

Parameter set: `Document`

## Examples

### Example 1

```powershell
Get-OfficePdfInteractionMap -Path @('C:\Path')
```

### Example 2

```powershell
Get-OfficePdfInteractionMap -Document 'Value'
```

### Example 3

```powershell
Get-OfficePdfInteractionMap -LiteralPath @('C:\Path')
```

## Parameters

**-IgnorePermissionRestrictions SwitchParameter optionalsets: Path, LiteralPath**

IgnorePermissionRestrictions for PDF inspection or extraction.

**-LoadOptions PdfLoadOptions optionalsets: Path, LiteralPath**

LoadOptions for PDF inspection or extraction.

**-Options Object[] optional**

Options for PDF inspection or extraction.

**-Page Int32 optional**

Page for PDF inspection or extraction.

**-Password SecureString optionalsets: Path, LiteralPath**

Password for PDF inspection or extraction.

**-Path String[] requiredposition: 0sets: Path**

Path for PDF inspection or extraction.

**-LiteralPath String[] requiredpipeline: True (ByPropertyName)aliases: FullName, PSPathsets: LiteralPath**

LiteralPath for PDF inspection or extraction.

**-Document PdfDocument requiredpipeline: True (ByValue)sets: Document**

Document for PDF inspection or extraction.

## 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:C49B0B707700B4C645858421351F3460681787200CB0EB5B2D6F8E4E0330C024 -->
