Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
ExcelScript.ShapeGroup interface
- Package:
- ExcelScript
Represents a shape group inside a worksheet. To get the corresponding Shape object, use ShapeGroup.shape.
Methods
| getGroupShape() | Returns the |
| getId() | Specifies the shape identifier. |
| getShape(key) | Gets a shape using its name or ID. If the shape object does not exist, then this method returns |
| getShapes() | Returns the collection of |
| ungroup() | Ungroups any grouped shapes in the specified shape group. |
Method Details
getGroupShape()
Returns the Shape object associated with the group.
getGroupShape(): Shape;
Returns
getId()
Specifies the shape identifier.
getId(): string;
Returns
string
getShape(key)
Gets a shape using its name or ID. If the shape object does not exist, then this method returns undefined.
getShape(key: string): Shape | undefined;
Parameters
- key
-
string
The name or ID of the shape to be retrieved.
Returns
ExcelScript.Shape | undefined
getShapes()
ungroup()
Ungroups any grouped shapes in the specified shape group.
ungroup(): void;
Returns
void
Office Scripts
Feedback
Was this page helpful?
