Font styles for pptx report title/subtitle

6 views (last 30 days)
gummiyummi
gummiyummi on 23 Jul 2020
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);

Answers (0)

Categories

Find more on MATLAB Report Generator in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!