API Reference
Command
Add-OfficePowerPointTextBox
Adds a text box to a slide.
Remarks
Adds a text box to a slide.
Examples
Insert a caption.
PS>Add-OfficePowerPointTextBox -Slide $slide -Text 'Quarterly Overview' -X 80 -Y 150
Places a text box mid-slide with the provided caption.
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-OfficePowerPointTextBox [-Height <Int32>] [-Slide <PowerPointSlide>] -Text <String> [-Width <Int32>] [-X <Int32>] [-Y <Int32>] [<CommonParameters>]#Parameter set:
All Parameter SetsParameters
- Height Int32
- Box height in points.
- Slide PowerPointSlide
- Target slide that will receive the text box (optional inside DSL).
- Text String
- Text to render inside the box.
- Width Int32
- Box width in points.
- X Int32
- Left offset (in points) from the slide origin.
- Y Int32
- Top offset (in points) from the slide origin.
Outputs
System.Object