PowerPoint.ShapeAddOptions interface
Represents the available options when adding shapes.
Remarks
[ API set: PowerPointApi 1.4 ]
Properties
height | Specifies the height, in points, of the shape. When not provided, a default value will be used. Throws an |
left | Specifies the distance, in points, from the left side of the shape to the left side of the slide. When not provided, a default value will be used. |
top | Specifies the distance, in points, from the top edge of the shape to the top edge of the slide. When not provided, a default value will be used. |
width | Specifies the width, in points, of the shape. When not provided, a default value will be used. Throws an |
Property Details
height
Specifies the height, in points, of the shape. When not provided, a default value will be used. Throws an InvalidArgument
exception when set with a negative value.
height?: number;
Property Value
number
Remarks
left
Specifies the distance, in points, from the left side of the shape to the left side of the slide. When not provided, a default value will be used.
left?: number;
Property Value
number
Remarks
top
Specifies the distance, in points, from the top edge of the shape to the top edge of the slide. When not provided, a default value will be used.
top?: number;
Property Value
number
Remarks
width
Specifies the width, in points, of the shape. When not provided, a default value will be used. Throws an InvalidArgument
exception when set with a negative value.
width?: number;
Property Value
number
Remarks
Office Add-ins
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for