Cmdlet
Add-OfficeOpenDocumentTextBox
Adds a positioned text box to an OpenDocument presentation slide.
Syntax
Add-OfficeOpenDocumentTextBox
[-Alignment <OfficeAlignment>]
[-Bold]
[-Color <OfficeColor>]
[-Font <String>]
[-Height <OfficeLength>]
[-Italic]
[-Name <String>]
[-PassThru]
[-Size <OfficeLength>]
[-Slide <OdpSlide>]
[-Strikethrough]
[-Text] <String>
[-Underline <OdfTextDecorationStyle>]
[-Width <OfficeLength>]
[-X <OfficeLength>]
[-Y <OfficeLength>]
[<CommonParameters>]#Parameter set:
DefaultExamples
Place a text box using centimetre coordinates.
Add-OfficeOpenDocumentTextBox -Text 'Approved' -X 18cm -Y 12cm -Width 6cm -Height 2cmParameters
- -Alignment OfficeAlignment
- Paragraph horizontal alignment.
- Possible values:
Left,Center,Right,Justify,Start,End - -Bold SwitchParameter
- Apply bold text; explicit false clears it.
- -Color OfficeColor
- Opaque RGB text color, including CSS names and theme roles.
- -Font String
- Font family.
- -Height OfficeLength
- Height as a physical length; a number means points.
- -Italic SwitchParameter
- Apply italic text; explicit false clears it.
- -Name String
- Optional shape name.
- -PassThru SwitchParameter
- Emit the created text box.
- -Size OfficeLength
- Font size; a number means points.
- -Slide OdpSlide
- Slide target. Omit inside Add-OfficeOpenDocumentSlide -Content.
- -Strikethrough SwitchParameter
- Apply strikethrough; explicit false clears it.
- -Text String
- Text box content.
- -Underline OdfTextDecorationStyle
- Native ODF underline line style.
- Possible values:
Solid,Dotted,Dash,LongDash,DotDash,DotDotDash,Wave - -Width OfficeLength
- Width as a physical length; a number means points.
- -X OfficeLength
- Horizontal position as a physical length; a number means points.
- -Y OfficeLength
- Vertical position as a physical length; a number means points.
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.