MATLAB MATLAB REPORT GENERATOR - RELEASE NOTES Uživatelská příručka Strana 433

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 986
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 432
mlreportgen.dom.FormalTable.appendFooterRow
11-53
mlreportgen.dom.FormalTable.appendFooterRow
Package: mlreportgen.dom
Append row to table footer
Syntax
rowObjOut = appendFooterRow(tableObj,rowObj)
Description
rowObjOut = appendFooterRow(tableObj,rowObj) appends a row of table entries
to the footer of a table.
Examples
Append a Table Footer
Create, format, and append a formal table.
import mlreportgen.dom.*;
myReport = Document('myDoc','html');
table = FormalTable({'row1 - col1' 'row1 - col2 ';...
'row2 - col1' 'row2 - col2'});
table.Style = {Border('double'),ColSep('solid'),RowSep('solid')};
append(myReport,table);
Create a row (and its entries) for the footer. Use bold text for the text in the row.
rowForFooter = TableRow();
rowForFooter.Style = {Bold(true)};
col1Title = TableEntry('Column 1 footer');
col2Title = TableEntry('Column 2 footer');
append(rowForFooter,col1Title);
append(rowForFooter,col2Title);
Append the footer row and display the report.
Zobrazit stránku 432
1 2 ... 428 429 430 431 432 433 434 435 436 437 438 ... 985 986

Komentáře k této Příručce

Žádné komentáře