API Reference

Cmdlet

Add-OfficeOpenDocumentTextBox

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

Adds a positioned text box to an OpenDocument presentation slide.

Remarks

Adds a positioned text box to an OpenDocument presentation slide.

Examples

Authored help example

Place a text box using centimetre coordinates.

PS>


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

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.

Syntax

Add-OfficeOpenDocumentTextBox [-Height <Double>] [-Name <String>] [-PassThru] [-Slide <OdpSlide>] -Text <String> [-Width <Double>] [-X <Double>] [-Y <Double>] [<CommonParameters>]
#
Parameter set: All Parameter Sets

Parameters

Height Double optionalposition: namedpipeline: False
Height in centimeters.
Name String optionalposition: namedpipeline: False
Optional shape name.
PassThru SwitchParameter optionalposition: namedpipeline: False
Emit the created text box.
Slide OdpSlide optionalposition: namedpipeline: True (ByValue)
Slide target. Omit inside Add-OfficeOpenDocumentSlide -Content.
Text String requiredposition: 0pipeline: False
Text box content.
Width Double optionalposition: namedpipeline: False
Width in centimeters.
X Double optionalposition: namedpipeline: False
Horizontal position in centimeters.
Y Double optionalposition: namedpipeline: False
Vertical position in centimeters.

Outputs

OfficeIMO.OpenDocument.OdpTextBox