Report PDF With Landscape Pages including tables

1 view (last 30 days)
The following program produces the first horizontal page and in the following the table is inserted in a horizontal page.
Where's the mistake?
  1 Comment
Cosimo Antonio Prete
Cosimo Antonio Prete on 13 Jun 2020
The following program produces the first horizontal page and in the following the table is inserted in a horizontal page.
Where's the mistake?
rpt = Report('TabellaStatisticheDelleOperazioni','pdf');
tp = TitlePage;
tp.Title = 'Stato e statistiche delle Operazioni';
tp.Author = 'Società ProSeF, del gruppo XYZ';
tp.Layout.Landscape = true;
add(rpt,tp);
ch1.Title = 'Tabella stato long e short';
tbl = Table(St);

Sign in to comment.

Answers (1)

Navya Seelam
Navya Seelam on 16 Jun 2020
I don't see any line in the code which is intended to add table to the report. Try adding the following line in your code
add(rpt,tbl ) ;
Go through this example for better understanding

Community Treasure Hunt

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

Start Hunting!