PowerPoint.AddSlideOptions interface
Represents the available options when adding a new slide.
Remarks
[ API set: PowerPointApi 1.3 ]
Properties
layout |
Specifies the ID of a Slide Layout to be used for the new slide. If no |
slide |
Specifies the ID of a Slide Master to be used for the new slide. If no |
Property Details
layoutId
Specifies the ID of a Slide Layout to be used for the new slide. If no layoutId
is provided, but a slideMasterId
is provided, then the ID of the first layout from the specified Slide Master will be used. If no slideMasterId
is provided, but a layoutId
is provided, then the specified layout needs to be available for the default Slide Master (as specified in the slideMasterId
description). Otherwise, an error will be thrown.
layoutId?: string;
Property Value
string
Remarks
slideMasterId
Specifies the ID of a Slide Master to be used for the new slide. If no slideMasterId
is provided, then the previous slide's Slide Master will be used. If there is no previous slide, then the presentation's first Slide Master will be used.
slideMasterId?: string;
Property Value
string
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