Font styles for pptx report title/subtitle

1 回表示 (過去 30 日間)
gummiyummi
gummiyummi 2020 年 7 月 23 日
I want to change the font color of my title on the first title slide of a report powerpoint... I tried it with FontColor but got an error.... Anybody have a solution?
slides = 'test1.pptx';
ppt = Presentation(slides);
slide1 = add(slides,'Title Slide');
title = 'testing trial first'
replace(slide1, 'Title', title);
title.Style = {FontColor('red')}; % error: unable to perform assignment because dot indexing is not supported for variables of this type
close(ppt);
reptview(ppt);

回答 (0 件)

カテゴリ

Help Center および File ExchangeMATLAB Report Generator についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by