Project

PSWriteOffice

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

Stars 654
Forks 82
Open issues 1
Total downloads 4,320,051
Release OfficeIMO-v3.5.3
Language: C# Updated: 2026-11-03
Cmdlet

Add-OfficeOpenDocumentTextBox

Module
PSWriteOffice
Inputs
OfficeIMO.OpenDocument.OdpSlide
Outputs
OfficeIMO.OpenDocument.OdpTextBox

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>]
#
Parameter set: All Parameter Sets

Examples

Place a text box using centimetre coordinates.

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.