Font styles for pptx report title/subtitle

6 次查看(过去 30 天)
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 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