PowerPoint.Interfaces.PlaceholderFormatData interface

An interface describing the data returned by calling placeholderFormat.toJSON().

Properties

containedType

Gets the type of the shape contained within the placeholder. See PowerPoint.ShapeType for details. Returns null if the placeholder is empty.

type

Returns the type of this placeholder. See PowerPoint.PlaceholderType for details.

Property Details

containedType

Note

This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

Gets the type of the shape contained within the placeholder. See PowerPoint.ShapeType for details. Returns null if the placeholder is empty.

containedType?: ShapeType | null;

Property Value

Remarks

[ API set: PowerPointApi BETA (PREVIEW ONLY) ]

type

Note

This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

Returns the type of this placeholder. See PowerPoint.PlaceholderType for details.

type?: PowerPoint.PlaceholderType | "Unsupported" | "Date" | "SlideNumber" | "Footer" | "Header" | "Title" | "Body" | "CenterTitle" | "Subtitle" | "VerticalTitle" | "VerticalBody" | "Content" | "Chart" | "Table" | "OnlinePicture" | "SmartArt" | "Media" | "VerticalContent" | "Picture" | "Cameo";

Property Value

PowerPoint.PlaceholderType | "Unsupported" | "Date" | "SlideNumber" | "Footer" | "Header" | "Title" | "Body" | "CenterTitle" | "Subtitle" | "VerticalTitle" | "VerticalBody" | "Content" | "Chart" | "Table" | "OnlinePicture" | "SmartArt" | "Media" | "VerticalContent" | "Picture" | "Cameo"

Remarks

[ API set: PowerPointApi BETA (PREVIEW ONLY) ]