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

  • 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 440
append
11-61
Output Arguments
htmlObjOut — HTML object with appended content
an mlreportgen.dom.HTML object
HTML object with appended content, returned as an mlreportgen.dom.HTML object.
Examples
Append HTML text to an HTML Object
Create an HTML object from HTML text, to use for a Microsoft Word report.
import mlreportgen.dom.*;
rpt = Document('HTML2WordReport','docx');
htmlObj = HTML('<p><b>Hello</b> <i style="color:green">World</i></p>');
Append content to the HTML object. Append the HTML object to the document.
append(htmlObj,'<p>This is <u>me</u> speaking</p>');
append(rpt,htmlObj);
Generate the report.
close(rpt);
rptview(rpt.OutputPath);
“Append HTML Content to DOM Reports”
See Also
mlreportgen.dom.Document.addHTML | mlreportgen.dom.HTML |
mlreportgen.dom.HTMLFile
More About
“Appending HTML to DOM Reports”
Introduced in R2015a
Zobrazit stránku 440
1 2 ... 436 437 438 439 440 441 442 443 444 445 446 ... 985 986

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

Žádné komentáře