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 InvalidArgument exception when set with a negative value.

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 InvalidArgument exception when set with a negative value.

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

[ API set: PowerPointApi 1.4 ]

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

[ API set: PowerPointApi 1.4 ]

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

[ API set: PowerPointApi 1.4 ]

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

[ API set: PowerPointApi 1.4 ]