필터 지우기
필터 지우기

I am crating a Power point and want to apply a template ... how do I do this?

조회 수: 2 (최근 30일)
Jeffrey Schlang
Jeffrey Schlang 2017년 1월 19일
답변: Nirav Sharda 2017년 1월 27일
How do I apply a template to slides that I am creating from Matlab? How do I change the slide between standard and wide?
  댓글 수: 1
Nirav Sharda
Nirav Sharda 2017년 1월 24일
Are you using 'actxserver' to create a PowerPoint slide or MATLAB Report Generator?

댓글을 달려면 로그인하십시오.

답변 (1개)

Nirav Sharda
Nirav Sharda 2017년 1월 27일
Here is a small example code that works for me with MATLAB R2016a and I have PowerPoint 2016.
ppt = actxserver('powerpoint.application');
ppt.Visible = 1;
ppt.Presentation.invoke;
p = ppt.Presentation.Add;
p.ApplyTheme('C:\Program Files (x86)\Microsoft Office\root\Document Themes 16\Facet.thmx');
Also you can refer to the Microsoft Developer Reference on this link for more information. The slide object has the ApplyTheme and ApplyTemplate method. I hope this helps!

카테고리

Help CenterFile Exchange에서 MATLAB Report Generator에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by