API Reference

Cmdlet

Add-OfficePowerPointBullets

Aliases: PptBullets
Namespace PSWriteOffice
Aliases
PptBullets
Inputs
OfficeIMO.PowerPoint.PowerPointSlide
Outputs
OfficeIMO.PowerPoint.PowerPointTextBox

Adds a bulleted list to a PowerPoint slide.

Remarks

Creates a textbox and populates it with bullet paragraphs.

Examples

Authored help example

Example 1: Add a bullet list.

PS>


New-OfficePowerPoint -Path .\Examples\Documents\PowerPointBullets.pptx {
                $slide = Add-OfficePowerPointSlide -Layout 1
                Set-OfficePowerPointSlideTitle -Slide $slide -Title 'Delivery update'
                Add-OfficePowerPointBullets -Slide $slide -Bullets 'Wins','Risks','Next steps' -X 60 -Y 120 -Width 420 -Height 180
            }
        

Creates a slide with a titled bullet list.

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-OfficePowerPointBullets [-BulletChar <String>] -Bullets <String[]> [-Height <Double>] [-Level <Int32>] [-Slide <PowerPointSlide>] [-Width <Double>] [-X <Double>] [-Y <Double>] [<CommonParameters>]
#
Parameter set: All Parameter Sets

Parameters

BulletChar String optionalposition: namedpipeline: False
Optional bullet character (defaults to •).
Bullets String[] requiredposition: 0pipeline: False
Bullet items to render.
Height Double optionalposition: namedpipeline: False
Textbox height in points.
Level Int32 optionalposition: namedpipeline: False
List level (0-8).
Slide PowerPointSlide optionalposition: namedpipeline: True (ByValue)
Target slide that will receive the bullet list (optional inside DSL).
Width Double optionalposition: namedpipeline: False
Textbox width in points.
X Double optionalposition: namedpipeline: False
Left offset (in points) from the slide origin.
Y Double optionalposition: namedpipeline: False
Top offset (in points) from the slide origin.

Outputs

OfficeIMO.PowerPoint.PowerPointTextBox