withLayout

fnPresentationSlide withLayout(PresentationSlide s, string layoutName)

Returns a copy of s with the layout name set.

Parameters

sThe slide to modify.
layoutNameThe presentation:presentation-page-layout-name.

Returns

A modified copy of the slide.