replace
クラス: mlreportgen.ppt.Presentation
名前空間: mlreportgen.ppt
プレゼンテーション内のテキスト、テーブル、または画像の置換
説明
replace(
は、プレゼンテーション コンテンツ オブジェクト内の既存のコンテンツを、1 つ以上の段落、1 つのテーブル、または 1 個の画像などの指定されたコンテンツに置き換えます。presentation
,contentName
,content
)content
引数で指定したコンテンツのタイプが contentName
で識別されるコンテンツ オブジェクトに対して有効でない場合、replace
メソッドは効果がありません。
例
入力引数
ヒント
特定のスライドのコンテンツを置き換えるには、
mlreportgen.ppt.Slide
オブジェクトのreplace
メソッドを使用します。
バージョン履歴
R2015b で導入