# Add-OfficeOpenDocumentTextBox

Adds a positioned text box to an OpenDocument presentation slide.

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 **727**

Forks **84**

Open issues **7**

Total downloads **5,275,783**

Release **OfficeIMO-v3.6.2**

Language: C# Updated: 2026-11-24

Cmdlet 

**Module**

`PSWriteOffice`

**Inputs**

`OfficeIMO.OpenDocument.OdpSlide`

**Outputs**

`OfficeIMO.OpenDocument.OdpTextBox`

**Source**

[AddOfficeOpenDocumentTextBoxCommand.cs:15](https://github.com/EvotecIT/PSWriteOffice/blob/main/Sources/PSWriteOffice/Cmdlets/OpenDocument/AddOfficeOpenDocumentTextBoxCommand.cs#L15) 

Adds a positioned text box to an OpenDocument presentation slide.

## Syntax

```
Add-OfficeOpenDocumentTextBox
[-Height <Double>]
[-Name <String>]
[-PassThru]
[-Slide <OdpSlide>]
[-Text] <String>
[-Width <Double>]
[-X <Double>]
[-Y <Double>]
[<CommonParameters>]
```

[#](#method-add-officeopendocumenttextbox-double-string-switchparameter-odpslide-string-double-double-double)

Parameter set: `All Parameter Sets`

## Examples

### Place a text box using centimetre coordinates.

```powershell
Add-OfficeOpenDocumentTextBox -Text 'Approved' -X 18 -Y 12 -Width 6 -Height 2
```

## Parameters

**-Height Double optional**

Height in centimeters.

**-Name String optional**

Optional shape name.

**-PassThru SwitchParameter optional**

Emit the created text box.

**-Slide OdpSlide optionalpipeline: True (ByValue)**

Slide target. Omit inside Add-OfficeOpenDocumentSlide -Content.

**-Text String requiredposition: 0**

Text box content.

**-Width Double optional**

Width in centimeters.

**-X Double optional**

Horizontal position in centimeters.

**-Y Double optional**

Vertical position in centimeters.

## 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:2500F9BB5CC24B69BC4F20FD6584BBC473CFBBDB538864F34B201D062A30FE95 -->
