# PowerPointTemplatePlaceholderInfo

Template placeholder with its semantic role and authored bounds.

Class 

`OfficeIMO.PowerPoint`

**Namespace**

`OfficeIMO.PowerPoint`

**Assembly**

`OfficeIMO.PowerPoint`

**Source revision**

`90fbca630045` with working tree changes

**Source**

[PowerPointTemplateInventory.cs:71](https://github.com/EvotecIT/OfficeIMO/blob/90fbca6300454f4c57161551de8649ac9ee04cbd/OfficeIMO.PowerPoint/PowerPointTemplateInventory.cs#L71)

**Modifiers**

sealed

Template placeholder with its semantic role and authored bounds.

## Inheritance

- object
- PowerPointTemplatePlaceholderInfo

## Guides & Samples

Authored walkthroughs and practical samples linked to this API.

- [Create PowerPoint Decks from Templates](/docs/powerpoint/templates/) Guide
  
  Inspect a corporate PPTX or POTX template, pick layouts and placeholders by name, create decks from it, and reuse its brand colors and fonts.

## Usage

Explore 3 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

### Returned or exposed by 2

- Method [PowerPointTemplateLayoutInfo.ResolvePlaceholder](/api/powerpoint/officeimo-powerpoint-powerpointtemplatelayoutinfo/#method-resolveplaceholder-officeimo-powerpoint-powerpointtemplateplaceholderrole)
- Property [PowerPointTemplateLayoutInfo.Placeholders](/api/powerpoint/officeimo-powerpoint-powerpointtemplatelayoutinfo/#property-placeholders)

### Accepted by parameters 1

- Method [PowerPointSlide.AddTextToPlaceholder](/api/powerpoint/officeimo-powerpoint-powerpointslide/#method-addtexttoplaceholder-officeimo-powerpoint-powerpointtemplateplaceholderinfo-string) parameter `placeholder`

Filter members 

Show inherited

## Methods

`public override string ToString()` [#](#method-tostring)

[PowerPointTemplateInventory.cs:71](https://github.com/EvotecIT/OfficeIMO/blob/90fbca6300454f4c57161551de8649ac9ee04cbd/OfficeIMO.PowerPoint/PowerPointTemplateInventory.cs#L71)

Returns a string that represents the current object.

Returns

`string` A string that represents the current object.

## Inherited Methods

`public virtual bool Equals(object? obj)` [#](#method-equals-object)

Inherited from object

Parameters

**obj object? required**

Returns

`bool`

`public virtual int GetHashCode()` [#](#method-gethashcode)

Inherited from object

Returns

`int`

`public Type GetType()` [#](#method-gettype)

Inherited from object

Returns

`Type`

## Properties

`public string Name { get; }` [#](#property-name)

[PowerPointTemplateInventory.cs:53](https://github.com/EvotecIT/OfficeIMO/blob/90fbca6300454f4c57161551de8649ac9ee04cbd/OfficeIMO.PowerPoint/PowerPointTemplateInventory.cs#L53)

Authored placeholder name.

`public PowerPointPlaceholderType? PlaceholderType { get; }` [#](#property-placeholdertype)

[PowerPointTemplateInventory.cs:56](https://github.com/EvotecIT/OfficeIMO/blob/90fbca6300454f4c57161551de8649ac9ee04cbd/OfficeIMO.PowerPoint/PowerPointTemplateInventory.cs#L56)

Native PowerPoint placeholder type.

`public uint? PlaceholderIndex { get; }` [#](#property-placeholderindex)

[PowerPointTemplateInventory.cs:59](https://github.com/EvotecIT/OfficeIMO/blob/90fbca6300454f4c57161551de8649ac9ee04cbd/OfficeIMO.PowerPoint/PowerPointTemplateInventory.cs#L59)

Native placeholder index.

`public PowerPointTemplatePlaceholderRole Role { get; }` [#](#property-role)

[PowerPointTemplateInventory.cs:62](https://github.com/EvotecIT/OfficeIMO/blob/90fbca6300454f4c57161551de8649ac9ee04cbd/OfficeIMO.PowerPoint/PowerPointTemplateInventory.cs#L62)

Inferred semantic role.

`public PowerPointLayoutBox? Bounds { get; }` [#](#property-bounds)

[PowerPointTemplateInventory.cs:65](https://github.com/EvotecIT/OfficeIMO/blob/90fbca6300454f4c57161551de8649ac9ee04cbd/OfficeIMO.PowerPoint/PowerPointTemplateInventory.cs#L65)

Authored placeholder bounds.

`public string? DefaultText { get; }` [#](#property-defaulttext)

[PowerPointTemplateInventory.cs:68](https://github.com/EvotecIT/OfficeIMO/blob/90fbca6300454f4c57161551de8649ac9ee04cbd/OfficeIMO.PowerPoint/PowerPointTemplateInventory.cs#L68)

Default text carried by the layout placeholder, when present.

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