officefileapi-devexpress-dot-docs-dot-presentation-dot-placeholdersettings.md
Gets or sets the placeholder type.
Namespace : DevExpress.Docs.Presentation
Assembly : DevExpress.Docs.Presentation.v25.2.dll
NuGet Package : DevExpress.Docs.Presentation
public PlaceholderType Type { get; set; }
Public Property Type As PlaceholderType
| Type | Description |
|---|---|
| PlaceholderType |
The placeholder type.
|
Available values:
Show 16 items
| Name | Description |
|---|---|
| Title |
Contains a title.
| | Body |
Contains body text.
| | CenteredTitle |
Contains a centered title.
| | Subtitle |
Contains a subtitle.
| | DateAndTime |
Contains the date and time.
| | SlideNumber |
Contains a slide number.
| | Footer |
Contains a footer.
| | Header |
Contains a header.
| | Object |
Contains any content.
| | Chart |
Contains a chart.
| | Table |
Contains a table.
| | ClipArt |
Contains a single clip art image.
| | Diagram |
Contains a diagram.
| | Media |
Contains media content, such as a video or audio clip.
| | SlideImage |
Contains a slide image.
| | Picture |
Contains a picture.
|
You can access this nested property as listed below:
| Object Type | Path to Type |
|---|---|
| FilledShape |
.PlaceholderSettings .Type
|
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Type property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.
presentation-api-extract-content/CS/Program.cs#L140
if (noteShape is Shape textNoteShape
&& textNoteShape.PlaceholderSettings.Type == PlaceholderType.Body) {
string noteShapeText = textNoteShape.TextArea.Text;
presentation-api-extract-content/VB/Program.vb#L62
' #Region "Filter shapes"
If textShape.PlaceholderSettings?.Type = PlaceholderType.SlideNumber OrElse String.IsNullOrWhiteSpace(shapeText) Then
Continue For
See Also