# PowerPointTemplatePlaceholderRole

Semantic role inferred for a template placeholder.

Enum 

`OfficeIMO.PowerPoint`

**Namespace**

`OfficeIMO.PowerPoint`

**Assembly**

`OfficeIMO.PowerPoint`

**Source revision**

`07c6bff0a794` with working tree changes

**Source**

[PowerPointTemplateInventory.cs:6](https://github.com/EvotecIT/OfficeIMO/blob/07c6bff0a79428344663938dd8a3f4e85ca513a2/OfficeIMO.PowerPoint/PowerPointTemplateInventory.cs#L6)

**Base**

`Enum`

**Implements**

`IComparable` `ISpanFormattable` `IFormattable` `IConvertible`

**Modifiers**

sealed

Semantic role inferred for a template placeholder.

## Inheritance

- Enum
- PowerPointTemplatePlaceholderRole

## 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 13 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 12

- Property [PowerPointTemplatePlaceholderInfo.Role](/api/powerpoint/officeimo-powerpoint-powerpointtemplateplaceholderinfo/#property-role)
- Field [PowerPointTemplatePlaceholderRole.Body](/api/powerpoint/officeimo-powerpoint-powerpointtemplateplaceholderrole/#field-body)
- Field [PowerPointTemplatePlaceholderRole.Chart](/api/powerpoint/officeimo-powerpoint-powerpointtemplateplaceholderrole/#field-chart)
- Field [PowerPointTemplatePlaceholderRole.Content](/api/powerpoint/officeimo-powerpoint-powerpointtemplateplaceholderrole/#field-content)
- Field [PowerPointTemplatePlaceholderRole.Date](/api/powerpoint/officeimo-powerpoint-powerpointtemplateplaceholderrole/#field-date)
- Field [PowerPointTemplatePlaceholderRole.Footer](/api/powerpoint/officeimo-powerpoint-powerpointtemplateplaceholderrole/#field-footer)
- Field [PowerPointTemplatePlaceholderRole.Image](/api/powerpoint/officeimo-powerpoint-powerpointtemplateplaceholderrole/#field-image)
- Field [PowerPointTemplatePlaceholderRole.SlideNumber](/api/powerpoint/officeimo-powerpoint-powerpointtemplateplaceholderrole/#field-slidenumber)
- Field [PowerPointTemplatePlaceholderRole.Subtitle](/api/powerpoint/officeimo-powerpoint-powerpointtemplateplaceholderrole/#field-subtitle)
- Field [PowerPointTemplatePlaceholderRole.Table](/api/powerpoint/officeimo-powerpoint-powerpointtemplateplaceholderrole/#field-table)
- Field [PowerPointTemplatePlaceholderRole.Title](/api/powerpoint/officeimo-powerpoint-powerpointtemplateplaceholderrole/#field-title)
- Field [PowerPointTemplatePlaceholderRole.Unknown](/api/powerpoint/officeimo-powerpoint-powerpointtemplateplaceholderrole/#field-unknown)

### Accepted by parameters 1

- Method [PowerPointTemplateLayoutInfo.ResolvePlaceholder](/api/powerpoint/officeimo-powerpoint-powerpointtemplatelayoutinfo/#method-resolveplaceholder-officeimo-powerpoint-powerpointtemplateplaceholderrole) parameter `role`

Filter members 

Show inherited

## Inherited Methods

`public int CompareTo(object? target)` [#](#method-compareto-object)

Inherited from Enum

Parameters

**target object? required**

Returns

`int`

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

Inherited from Enum

Parameters

**obj object? required**

Returns

`bool`

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

Inherited from Enum

Returns

`int`

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

Inherited from object

Returns

`Type`

`public TypeCode GetTypeCode()` [#](#method-gettypecode)

Inherited from Enum

Returns

`TypeCode`

`public bool HasFlag(Enum flag)` [#](#method-hasflag-enum)

Inherited from Enum

Parameters

**flag Enum required**

Returns

`bool`

ToString 4 overloads

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

Inherited from Enum

Returns

`string`

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

Inherited from Enum

Parameters

**format string? required**

Returns

`string`

`public string ToString(IFormatProvider? provider)` [#](#method-tostring-iformatprovider)

Inherited from Enum

`Obsolete("The provider argument is not used. Use ToString() instead.")`

Parameters

**provider IFormatProvider? required**

Returns

`string`

`public string ToString(string? format, IFormatProvider? provider)` [#](#method-tostring-string-iformatprovider)

Inherited from Enum

`Obsolete("The provider argument is not used. Use ToString(String) instead.")`

Parameters

**format string? required**

**provider IFormatProvider? required**

Returns

`string`

## Values

`public const PowerPointTemplatePlaceholderRole Unknown` [#](#field-unknown)

[PowerPointTemplateInventory.cs:8](https://github.com/EvotecIT/OfficeIMO/blob/07c6bff0a79428344663938dd8a3f4e85ca513a2/OfficeIMO.PowerPoint/PowerPointTemplateInventory.cs#L8)

Role could not be inferred.

Value: `0`

`public const PowerPointTemplatePlaceholderRole Title` [#](#field-title)

[PowerPointTemplateInventory.cs:10](https://github.com/EvotecIT/OfficeIMO/blob/07c6bff0a79428344663938dd8a3f4e85ca513a2/OfficeIMO.PowerPoint/PowerPointTemplateInventory.cs#L10)

Primary slide title.

Value: `1`

`public const PowerPointTemplatePlaceholderRole Subtitle` [#](#field-subtitle)

[PowerPointTemplateInventory.cs:12](https://github.com/EvotecIT/OfficeIMO/blob/07c6bff0a79428344663938dd8a3f4e85ca513a2/OfficeIMO.PowerPoint/PowerPointTemplateInventory.cs#L12)

Subtitle or secondary heading.

Value: `2`

`public const PowerPointTemplatePlaceholderRole Body` [#](#field-body)

[PowerPointTemplateInventory.cs:14](https://github.com/EvotecIT/OfficeIMO/blob/07c6bff0a79428344663938dd8a3f4e85ca513a2/OfficeIMO.PowerPoint/PowerPointTemplateInventory.cs#L14)

Body or list content.

Value: `3`

`public const PowerPointTemplatePlaceholderRole Content` [#](#field-content)

[PowerPointTemplateInventory.cs:16](https://github.com/EvotecIT/OfficeIMO/blob/07c6bff0a79428344663938dd8a3f4e85ca513a2/OfficeIMO.PowerPoint/PowerPointTemplateInventory.cs#L16)

Generic content placeholder.

Value: `4`

`public const PowerPointTemplatePlaceholderRole Image` [#](#field-image)

[PowerPointTemplateInventory.cs:18](https://github.com/EvotecIT/OfficeIMO/blob/07c6bff0a79428344663938dd8a3f4e85ca513a2/OfficeIMO.PowerPoint/PowerPointTemplateInventory.cs#L18)

Picture, screenshot, or logo placeholder.

Value: `5`

`public const PowerPointTemplatePlaceholderRole Chart` [#](#field-chart)

[PowerPointTemplateInventory.cs:20](https://github.com/EvotecIT/OfficeIMO/blob/07c6bff0a79428344663938dd8a3f4e85ca513a2/OfficeIMO.PowerPoint/PowerPointTemplateInventory.cs#L20)

Chart placeholder.

Value: `6`

`public const PowerPointTemplatePlaceholderRole Table` [#](#field-table)

[PowerPointTemplateInventory.cs:22](https://github.com/EvotecIT/OfficeIMO/blob/07c6bff0a79428344663938dd8a3f4e85ca513a2/OfficeIMO.PowerPoint/PowerPointTemplateInventory.cs#L22)

Table placeholder.

Value: `7`

`public const PowerPointTemplatePlaceholderRole Footer` [#](#field-footer)

[PowerPointTemplateInventory.cs:24](https://github.com/EvotecIT/OfficeIMO/blob/07c6bff0a79428344663938dd8a3f4e85ca513a2/OfficeIMO.PowerPoint/PowerPointTemplateInventory.cs#L24)

Footer text placeholder.

Value: `8`

`public const PowerPointTemplatePlaceholderRole Date` [#](#field-date)

[PowerPointTemplateInventory.cs:26](https://github.com/EvotecIT/OfficeIMO/blob/07c6bff0a79428344663938dd8a3f4e85ca513a2/OfficeIMO.PowerPoint/PowerPointTemplateInventory.cs#L26)

Date/time placeholder.

Value: `9`

`public const PowerPointTemplatePlaceholderRole SlideNumber` [#](#field-slidenumber)

[PowerPointTemplateInventory.cs:28](https://github.com/EvotecIT/OfficeIMO/blob/07c6bff0a79428344663938dd8a3f4e85ca513a2/OfficeIMO.PowerPoint/PowerPointTemplateInventory.cs#L28)

Slide-number placeholder.

Value: `10`

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