PowerPoint.Interfaces.ShapeUpdateData interface
An interface for updating data on the Shape
object, for use in shape.set({ ... })
.
Properties
height | Specifies the height, in points, of the shape. Throws an |
left | The distance, in points, from the left side of the shape to the left side of the slide. |
name | Specifies the name of this shape. |
rotation | Specifies the rotation, in degrees, of the shape around the z-axis. A positive value indicates clockwise rotation, and a negative value indicates counterclockwise rotation. |
top | The distance, in points, from the top edge of the shape to the top edge of the slide. |
visible | Specifies if the shape is visible. |
width | Specifies the width, in points, of the shape. Throws an |
Property Details
height
Specifies the height, in points, of the shape. Throws an InvalidArgument
exception when set with a negative value.
height?: number;
Property Value
number
Remarks
left
The distance, in points, from the left side of the shape to the left side of the slide.
left?: number;
Property Value
number
Remarks
name
Specifies the name of this shape.
name?: string;
Property Value
string
Remarks
rotation
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.
Specifies the rotation, in degrees, of the shape around the z-axis. A positive value indicates clockwise rotation, and a negative value indicates counterclockwise rotation.
rotation?: number;
Property Value
number
Remarks
top
The distance, in points, from the top edge of the shape to the top edge of the slide.
top?: number;
Property Value
number
Remarks
visible
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.
Specifies if the shape is visible.
visible?: boolean;
Property Value
boolean
Remarks
width
Specifies the width, in points, of the shape. Throws an InvalidArgument
exception when set with a negative value.
width?: number;
Property Value
number