Hi!
I'm trying to create a tool that generates a report and I want to make a pagebreak from my script after each section.
Does anybody know a good way of doing so, I have seen that the R2016b has a function for that but I haven't found it working in R2015b version.
t2.TableEntriesStyle = {FontFamily('Calibri'), Width('0.5in'), Color('black')};t2.TableEntriesHAlign = 'center';t2.TableEntriesVAlign = 'middle';append(d,t2);´% Between these two sections I want the pagebreak.
p = Paragraph('Chapter ');p.Style = { CounterInc('chapter'), CounterReset('table'), WhiteSpace('preserve') };append(p, AutoNumber('chapter'));append(d, p);
Thanks David
Best Answer