Main Content

mlreportgen.ppt.Presentation.createTemplate

クラス: mlreportgen.ppt.Presentation
名前空間: mlreportgen.ppt

既定の PPT API プレゼンテーション テンプレートのコピーの作成

R2021a 以降

構文

templatePath = mlreportgen.ppt.Presentation.createTemplate(path)

説明

templatePath = mlreportgen.ppt.Presentation.createTemplate(path) は、指定された場所に PPT API の既定のプレゼンテーション テンプレートのコピーを作成し、新しいテンプレートの絶対パスを返します。

入力引数

すべて展開する

新しいテンプレートのパスとファイル名。文字ベクトルまたは string スカラーとして指定します。.pptx ファイル名拡張子はオプションです。

出力引数

すべて展開する

テンプレートのコピーのパスとファイル名。文字ベクトルとして返されます。

すべて展開する

現在のフォルダーに PPT API テンプレートのコピーを作成します。

templatePath = mlreportgen.ppt.Presentation.createTemplate("MyTemplate.pptx");

バージョン履歴

R2021a で導入