# Set-OfficePowerPointLayoutPlaceholderBounds

Sets layout placeholder bounds for a slide layout. Review available syntax, parameters, pipeline guidance, and reference details in PSWriteOffice API Reference.

Project

PSWriteOffice

PowerShell document automation across OfficeIMO's document, spreadsheet, presentation, PDF, Project, Access, EPUB, invoicing, and conversion engines.

[View on GitHub](https://github.com/EvotecIT/OfficeIMO/tree/master/PowerShell/PSWriteOffice) [Visit Website](#) [Releases](https://github.com/EvotecIT/PSWriteOffice/releases/tag/v3.0.5) [Changelog](#) [Get package](https://www.powershellgallery.com/packages/PSWriteOffice/0.2.0)

Stars **725**

Forks **84**

Open issues **3**

Total downloads **5,231,343**

Release **OfficeIMO-v3.6.2**

Language: C# Updated: 2026-11-23

Cmdlet 

Aliases: PptLayoutPlaceholderBounds

**Module**

`PSWriteOffice`

**Aliases**

`PptLayoutPlaceholderBounds`

**Inputs**

`OfficeIMO.PowerPoint.PowerPointPresentation`

**Outputs**

`OfficeIMO.PowerPoint.PowerPointTextBox`

**Source**

[SetOfficePowerPointLayoutPlaceholderBoundsCommand.cs:29](https://github.com/EvotecIT/PSWriteOffice/blob/main/Sources/PSWriteOffice/Cmdlets/PowerPoint/SetOfficePowerPointLayoutPlaceholderBoundsCommand.cs#L29) 

Sets layout placeholder bounds for a slide layout.

## Syntax

```
Set-OfficePowerPointLayoutPlaceholderBounds
[-CreateIfMissing]
-Height <Double>
[-Index <UInt32>]
-Layout <Int32>
-Left <Double>
[-Master <Int32>]
[-PassThru]
-PlaceholderType <PowerPointPlaceholderType>
[-Presentation <PowerPointPresentation>]
-Top <Double>
-Width <Double>
[<CommonParameters>]
```

[#](#method-set-officepowerpointlayoutplaceholderbounds-switchparameter-double-uint32-int32-double-int32-switchparameter-powerpointplaceholdertype-powerpointpresentation-double-double)

Parameter set: `All Parameter Sets`

## Examples

### Update title placeholder bounds.

```powershell
Set-OfficePowerPointLayoutPlaceholderBounds -Presentation $ppt -Master 0 -Layout 1 -PlaceholderType Title -Left 40 -Top 20 -Width 500 -Height 120
```

Moves/resizes the Title placeholder on the layout.

### Update placeholder bounds inside the DSL.

```powershell
New-OfficePowerPoint -Path .\deck.pptx {
  $layout = Get-OfficePowerPointLayout | Select-Object -First 1
  Set-OfficePowerPointLayoutPlaceholderBounds -Master $layout.MasterIndex -Layout $layout.LayoutIndex -PlaceholderType Title -Left 40 -Top 20 -Width 500 -Height 120
}
```

Uses the DSL context to resolve the presentation.

## Parameters

**-CreateIfMissing SwitchParameter optional**

Create the placeholder if it is missing.

**-Height Double required**

Height in points.

**-Index UInt32 optional**

Optional placeholder index.

**-Layout Int32 required**

Layout index within the master.

**-Left Double required**

Left position in points.

**-Master Int32 optional**

Slide master index.

**-PassThru SwitchParameter optional**

Emit the placeholder textbox after update.

**-PlaceholderType PowerPointPlaceholderType requiredaliases: Type**

Placeholder type to target.

Possible values: `Title`, `Body`, `CenteredTitle`, `SubTitle`, `DateAndTime`, `SlideNumber`, `Footer`, `Header`, `Object`, `Chart`, `Table`, `ClipArt`, `Diagram`, `Media`, `SlideImage`, `Picture`

**-Presentation PowerPointPresentation optionalpipeline: True (ByValue)**

Presentation to update (optional inside DSL).

**-Top Double required**

Top position in points.

**-Width Double required**

Width in 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](https://learn.microsoft.com/powershell/module/microsoft.powershell.core/about/about_commonparameters).

Evotec API Reference Copyright 2026 Evotec Services

<!-- PowerForge markdown artifact sha256:E8F6DCBFB5EEFE7793CA85ECC8C085BC3AA40480C8969679A98398A2E0FC9D96 -->
