API Reference
Cmdlet
Add-OfficeOpenDocumentTextBox
Adds a positioned text box to an OpenDocument presentation slide.
Remarks
Adds a positioned text box to an OpenDocument presentation slide.
Examples
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 SetsParameters
- Height Double
- Height in centimeters.
- Name String
- Optional shape name.
- PassThru SwitchParameter
- Emit the created text box.
- Slide OdpSlide
- Slide target. Omit inside Add-OfficeOpenDocumentSlide -Content.
- Text String
- Text box content.
- Width Double
- Width in centimeters.
- X Double
- Horizontal position in centimeters.
- Y Double
- Vertical position in centimeters.
Outputs
OfficeIMO.OpenDocument.OdpTextBox