# Add-OfficeWordPictureControl

Adds a picture content control to the current paragraph.

Project

PSWriteOffice

PowerShell document automation across OfficeIMO's document, spreadsheet, presentation, PDF, Project, Access, EPUB, invoicing, and conversion engines.

[View on GitHub](https://github.com/EvotecIT/OfficeIMO/tree/master/PowerShell/PSWriteOffice) [Visit Website](#) [Releases](https://github.com/EvotecIT/PSWriteOffice/releases/tag/v3.0.5) [Changelog](#) [Get package](https://www.powershellgallery.com/packages/PSWriteOffice/0.2.0)

Stars **725**

Forks **84**

Open issues **3**

Total downloads **5,231,343**

Release **OfficeIMO-v3.6.2**

Language: C# Updated: 2026-11-23

Cmdlet 

Aliases: WordPictureControl

**Module**

`PSWriteOffice`

**Aliases**

`WordPictureControl`

**Inputs**

`OfficeIMO.Word.WordParagraph`

**Outputs**

`OfficeIMO.Word.WordPictureControl`

**Source**

[AddOfficeWordPictureControlCommand.cs:17](https://github.com/EvotecIT/PSWriteOffice/blob/main/Sources/PSWriteOffice/Cmdlets/Word/AddOfficeWordPictureControlCommand.cs#L17) 

Adds a picture content control to the current paragraph.

## Syntax

```
Add-OfficeWordPictureControl
[-Alias <String>]
[-Height <Double>]
[-Paragraph <WordParagraph>]
[-PassThru]
[-Path] <String>
[-Tag <String>]
[-Width <Double>]
[<CommonParameters>]
```

[#](#method-add-officewordpicturecontrol-string-double-wordparagraph-switchparameter-string-string-double)

Parameter set: `All Parameter Sets`

## Examples

### Add a picture control.

```powershell
Add-OfficeWordParagraph { Add-OfficeWordPictureControl -Path .\logo.png -Width 96 -Height 32 }
```

Embeds an image inside a picture content control.

## Parameters

**-Alias String optional**

Optional alias for the control.

**-Height Double optional**

Height in points.

**-Paragraph WordParagraph optionalpipeline: True (ByValue)**

Explicit paragraph to receive the control.

**-PassThru SwitchParameter optional**

Emit the created control.

**-Path String requiredposition: 0**

Path to the image file.

**-Tag String optional**

Optional tag for the control.

**-Width Double optional**

Width in points.

## 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).

Evotec API Reference Copyright 2026 Evotec Services

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