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

  • 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 520
mlreportgen.dom.BorderCollapse class
12-27
A session-unique ID is generated as part of document element creation. You can specify
an ID to replace the generated ID.
Tag — Tag for document element
string
Tag for document element, specified as a string.
A session-unique ID is generated as part of document element creation. The generated
tag has the form CLASS:ID, where CLASS is the class of the element and ID is the value
of the Id property of the object. You can specify a tag to replace the generated tag.
Specify your own tag value, for example, to make it easier to identify where an issue
occurred during document generation.
Value — Specify whether to collapse border
string
String specifying to collapse table borders ('on') or to leave table and adjacent cell
borders separate ('off').
Examples
Collapse and Separate Table Borders
import mlreportgen.dom.*;
doctype = 'html';
d = Document('test',doctype);
magicArray = magic(5);
p = Paragraph('Collapsed Borders');
append(d,p);
table = Table(magicArray);
table.Style = {Border('solid'),BorderCollapse('on')};
for r = 1:5
for c = 1:5
table.entry(r,c).Style = {Border('solid')};
end
end
append(d,table);
Zobrazit stránku 520
1 2 ... 516 517 518 519 520 521 522 523 524 525 526 ... 985 986

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

Žádné komentáře