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

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.

top

The distance, in points, from the top edge of the shape to the top edge of the slide.

width

Specifies the width, in points, of the shape. Throws an InvalidArgument exception when set with a negative value.

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

[ API set: PowerPointApi 1.4 ]

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

[ API set: PowerPointApi 1.4 ]

name

Specifies the name of this shape.

name?: string;

Property Value

string

Remarks

[ API set: PowerPointApi 1.4 ]

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

[ API set: PowerPointApi 1.4 ]

width

Specifies the width, in points, of the shape. Throws an InvalidArgument exception when set with a negative value.

width?: number;

Property Value

number

Remarks

[ API set: PowerPointApi 1.4 ]