PowerPoint.Interfaces.ShapeScopedCollectionLoadOptions interface
Represents a collection of shapes.
Remarks
[ API set: PowerPointApi 1.5 ]
Properties
$all | Specifying |
fill | For EACH ITEM in the collection: Returns the fill formatting of this shape. |
group | For EACH ITEM in the collection: Returns the |
height | For EACH ITEM in the collection: Specifies the height, in points, of the shape. Throws an |
id | For EACH ITEM in the collection: Gets the unique ID of the shape. |
left | For EACH ITEM in the collection: The distance, in points, from the left side of the shape to the left side of the slide. |
level | For EACH ITEM in the collection: Returns the level of the specified shape.
|
line |
For EACH ITEM in the collection: Returns the line formatting of this shape. |
name | For EACH ITEM in the collection: Specifies the name of this shape. |
parent |
For EACH ITEM in the collection: Returns the parent group of this shape. If the shape isn't part of a group, then this method returns the |
placeholder |
For EACH ITEM in the collection: Returns the properties that apply specifically to this placeholder. If the shape type isn't |
text |
For EACH ITEM in the collection: Returns the text frame object of this shape. |
top | For EACH ITEM in the collection: The distance, in points, from the top edge of the shape to the top edge of the slide. |
type | For EACH ITEM in the collection: Returns the type of this shape. See PowerPoint.ShapeType for details. |
width | For EACH ITEM in the collection: Specifies the width, in points, of the shape. Throws an |
Property Details
$all
Specifying $all
for the load options loads all the scalar properties (such as Range.address
) but not the navigational properties (such as Range.format.fill.color
).
$all?: boolean;
Property Value
boolean
fill
For EACH ITEM in the collection: Returns the fill formatting of this shape.
fill?: PowerPoint.Interfaces.ShapeFillLoadOptions;
Property Value
Remarks
group
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.
For EACH ITEM in the collection: Returns the ShapeGroup
associated with the shape. If the shape type isn't group
, then this method returns the GeneralException
error.
group?: PowerPoint.Interfaces.ShapeGroupLoadOptions;
Property Value
Remarks
height
For EACH ITEM in the collection: Specifies the height, in points, of the shape. Throws an InvalidArgument
exception when set with a negative value.
height?: boolean;
Property Value
boolean
Remarks
id
For EACH ITEM in the collection: Gets the unique ID of the shape.
id?: boolean;
Property Value
boolean
Remarks
left
For EACH ITEM in the collection: The distance, in points, from the left side of the shape to the left side of the slide.
left?: boolean;
Property Value
boolean
Remarks
level
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.
For EACH ITEM in the collection: Returns the level of the specified shape.
A level of 0 means the shape isn't part of a group.
A level of 1 means the shape is part of a top-level group.
A level greater than 1 indicates the shape is a nested group.
level?: boolean;
Property Value
boolean
Remarks
lineFormat
For EACH ITEM in the collection: Returns the line formatting of this shape.
lineFormat?: PowerPoint.Interfaces.ShapeLineFormatLoadOptions;
Property Value
Remarks
name
For EACH ITEM in the collection: Specifies the name of this shape.
name?: boolean;
Property Value
boolean
Remarks
parentGroup
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.
For EACH ITEM in the collection: Returns the parent group of this shape. If the shape isn't part of a group, then this method returns the GeneralException
error.
parentGroup?: PowerPoint.Interfaces.ShapeLoadOptions;
Property Value
Remarks
placeholderFormat
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.
For EACH ITEM in the collection: Returns the properties that apply specifically to this placeholder. If the shape type isn't placeholder
, then this method returns the GeneralException
error.
placeholderFormat?: PowerPoint.Interfaces.PlaceholderFormatLoadOptions;
Property Value
Remarks
textFrame
For EACH ITEM in the collection: Returns the text frame object of this shape.
textFrame?: PowerPoint.Interfaces.TextFrameLoadOptions;
Property Value
Remarks
top
For EACH ITEM in the collection: The distance, in points, from the top edge of the shape to the top edge of the slide.
top?: boolean;
Property Value
boolean
Remarks
type
For EACH ITEM in the collection: Returns the type of this shape. See PowerPoint.ShapeType for details.
type?: boolean;
Property Value
boolean
Remarks
width
For EACH ITEM in the collection: Specifies the width, in points, of the shape. Throws an InvalidArgument
exception when set with a negative value.
width?: boolean;
Property Value
boolean
Remarks
Office Add-ins