Skip to content

Interface: FromTemplateOptions ​

Options for Presentation.fromTemplate.

Properties ​

keepTemplateContentType? ​

optional keepTemplateContentType?: boolean

Keep a .potx main part's …template.main+xml content type instead of normalizing it to the editable …presentation.main+xml type. Off by default (the saved package opens as an editable deck, not a template). No effect on a .pptx input, whose main part is already editable.