Edit

Share via


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

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

containedType?: PowerPoint.ShapeType | "Unsupported" | "Image" | "GeometricShape" | "Group" | "Line" | "Table" | "Callout" | "Chart" | "ContentApp" | "Diagram" | "Freeform" | "Graphic" | "Ink" | "Media" | "Model3D" | "Ole" | "Placeholder" | "SmartArt" | "TextBox" | null;

Property Value

PowerPoint.ShapeType | "Unsupported" | "Image" | "GeometricShape" | "Group" | "Line" | "Table" | "Callout" | "Chart" | "ContentApp" | "Diagram" | "Freeform" | "Graphic" | "Ink" | "Media" | "Model3D" | "Ole" | "Placeholder" | "SmartArt" | "TextBox" | null

Remarks

[ API set: PowerPointApi 1.8 ]

type

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 1.8 ]