power point - active x control

31 ビュー (過去 30 日間)
Jeffrey Schlang
Jeffrey Schlang 2017 年 2 月 2 日
コメント済み: Jeffrey Schlang 2017 年 2 月 7 日
Hello
1) is there a way using active-x to open a power point template? 2) How do I create a power point document that is standard 4:3 dimensions? currently it opens in the wide mode?
  1 件のコメント
Jeffrey Schlang
Jeffrey Schlang 2017 年 2 月 7 日
Ok ... thanks that works Now the power point 2013 has 2 sections in the master slides. I need to apply the 2nd section. Is there a way to do that or to insert the slide from the 2nd section?

サインインしてコメントする。

回答 (2 件)

Ankitha Kollegal Arjun
Ankitha Kollegal Arjun 2017 年 2 月 6 日
You can use the following snippet of code to open a PowerPoint template using ActiveX server:
ppt = actxserver('PowerPoint.Application');
ppt.Visible = 1;
get(ppt);
new_ppt = ppt.Presentations;
invoke(new_ppt);
x = Add(new_ppt);
To specify the dimensions, you could use any of the following:
ppt.Left = value;
ppt.Top = value;
ppt.Width = value;
ppt.Height = value;

Image Analyst
Image Analyst 2017 年 2 月 6 日

カテゴリ

Help Center および File ExchangeActiveX についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by