MATLAB MATLAB REPORT GENERATOR - RELEASE NOTES Guide de l'utilisateur Page 443

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 986
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 442
clone
11-63
import mlreportgen.dom.*;
rpt = Document('ClonedHTMLReport','docx');
htmlObj1 = HTML('<p><b>Hello</b> <i style="color:green">World</i></p>');
Append the HTML object to the report.
append(rpt,htmlObj1);
Copy the HTML object and append the copy to the report.
htmlObj2 = clone(htmlObj1);
append(rpt,htmlObj2);
Generate the report.
close(rpt);
rptview(rpt.OutputPath);
“Append HTML File Contents to DOM Reports”
See Also
mlreportgen.dom.HTML | mlreportgen.dom.HTMLFile
More About
“Appending HTML to DOM Reports”
Introduced in R2015a
Vue de la page 442
1 2 ... 438 439 440 441 442 443 444 445 446 447 448 ... 985 986

Commentaires sur ces manuels

Pas de commentaire