PowerPoint.PictureAddOptions interface
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.
Represents the available options when adding a picture (represented by a PowerPoint.Shape object).
Remarks
Properties
| height | Specifies the height, in points, of the picture. When not provided, the default value is 72 points (1 inch). Throws an |
| left | Specifies the distance, in points, from the left side of the picture to the left side of the slide. When not provided, the default value is 0. |
| top | Specifies the distance, in points, from the top edge of the picture to the top edge of the slide. When not provided, the default value is 0. |
| width | Specifies the width, in points, of the picture. When not provided, the default value is 72 points (1 inch). Throws an |
Property Details
height
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 height, in points, of the picture. When not provided, the default value is 72 points (1 inch). Throws an InvalidArgument exception when set with a negative value.
height?: number;
Property Value
number
Remarks
left
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 distance, in points, from the left side of the picture to the left side of the slide. When not provided, the default value is 0.
left?: number;
Property Value
number
Remarks
top
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 distance, in points, from the top edge of the picture to the top edge of the slide. When not provided, the default value is 0.
top?: number;
Property Value
number
Remarks
width
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 width, in points, of the picture. When not provided, the default value is 72 points (1 inch). Throws an InvalidArgument exception when set with a negative value.
width?: number;
Property Value
number