Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Cmdlet

Add-OfficePowerPointList

Aliases: PowerPointList
Module
PSWriteOffice
Aliases
PowerPointList
Inputs
PSWriteOffice.Foundation.PowerPointSlideSelector
Outputs
OfficeIMO.PowerPoint.PowerPointTextBox

Adds a native list through the shared layout and continuation rules.

Syntax

Add-OfficePowerPointList
[-BulletChar <String>]
[-Column <Int32>]
[-Height <OfficeLength>]
[-Items] <String[]>
[-Level <Int32>]
[-Numbered]
[-Numbering <PowerPointNumberingScheme>]
[-PassThru]
[-Slide <PowerPointSlideSelector>]
[-Span <Int32>]
[-Width <OfficeLength>]
[-X <OfficeLength>]
[-Y <OfficeLength>]
[<CommonParameters>]
#
Parameter set: Items
Add-OfficePowerPointList
[-BulletChar <String>]
[-Column <Int32>]
[-Content] <ScriptBlock>
[-Height <OfficeLength>]
[-Level <Int32>]
[-Numbered]
[-Numbering <PowerPointNumberingScheme>]
[-PassThru]
[-Slide <PowerPointSlideSelector>]
[-Span <Int32>]
[-Width <OfficeLength>]
[-X <OfficeLength>]
[-Y <OfficeLength>]
[<CommonParameters>]
#
Parameter set: Content

Examples

Capture an editable list frame.

$list = PowerPointList 'Availability', 'Capacity' -PassThru
$list.Paragraphs[1].Text = 'Capacity planning'

Parameters

-BulletChar String optional
Gets or sets a single-character bullet; cannot be combined with numbering.
-Column Int32 optional
Gets or sets the one-based theme grid column; explicit X overrides its position.
-Height OfficeLength optional
Gets or sets the height; omission uses the native default for fixed placement.
-Items String[] requiredposition: 0sets: Items
Gets or sets the list items in display order.
-Level Int32 optional
Gets or sets the nesting level, one or two.
-Numbered SwitchParameter optional
Gets or sets whether the list is numbered.
-Numbering PowerPointNumberingScheme optional
Gets or sets the top-level numbering scheme; supplying it enables numbering.
Possible values: AlphaLowerCharacterParenBoth, AlphaUpperCharacterParenBoth, AlphaLowerCharacterParenR, AlphaUpperCharacterParenR, AlphaLowerCharacterPeriod, AlphaUpperCharacterPeriod, ArabicParenBoth, ArabicParenR, ArabicPeriod, ArabicPlain, RomanLowerCharacterParenBoth, RomanUpperCharacterParenBoth, RomanLowerCharacterParenR, RomanUpperCharacterParenR, RomanLowerCharacterPeriod, RomanUpperCharacterPeriod, CircleNumberDoubleBytePlain, CircleNumberWingdingsBlackPlain, CircleNumberWingdingsWhitePlain, ArabicDoubleBytePeriod, ArabicDoubleBytePlain, EastAsianSimplifiedChinesePeriod, EastAsianSimplifiedChinesePlain, EastAsianTraditionalChinesePeriod, EastAsianTraditionalChinesePlain, EastAsianJapaneseDoubleBytePeriod, EastAsianJapaneseKoreanPlain, EastAsianJapaneseKoreanPeriod, Arabic1Minus, Arabic2Minus, Hebrew2Minus, ThaiAlphaPeriod, ThaiAlphaParenthesisRight, ThaiAlphaParenthesisBoth, ThaiNumberPeriod, ThaiNumberParenthesisRight, ThaiNumberParenthesisBoth, HindiAlphaPeriod, HindiNumPeriod, HindiNumberParenthesisRight, HindiAlpha1Period
-PassThru SwitchParameter optional
Gets or sets whether to emit the native frame backing the first physical list segment.
-Slide PowerPointSlideSelector optionalpipeline: True (ByValue)
Gets or sets a native slide or one-based position; omission uses the current slide block.
-Span Int32 optional
Gets or sets the grid column count; omission with Column uses twelve. Explicit Width overrides it.
-Width OfficeLength optional
Gets or sets the width; omission uses the native default for fixed placement.
-X OfficeLength optional
Gets or sets the left coordinate; numbers mean points.
-Y OfficeLength optional
Gets or sets the top coordinate; numbers mean points.
-Content ScriptBlock requiredposition: 0sets: Content
Gets or sets a block of plain or rich PowerPointListItem commands.

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.