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

  • 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 386
clone
11-7
import mlreportgen.dom.*;
rpt = Document('MyReport','docx');
c = Container();
Color all of the text in this container red.
c.Style = {Color('red')};
Append content to the container and append the container to the report.
append(c,Paragraph('Hello'));
append(c,Table(magic(5)));
append(rpt,c);
Clone the container.
clonedC = clone(c);
Append the cloned container to the report.
append(rpt,clonedC);
Close and generate the report.
close(rpt);
rptview(rpt.OutputPath);
“Create Object Containers”
“Add Content as a Group”
See Also
mlreportgen.dom.Container | mlreportgen.dom.Group
Introduced in R2015a
Vue de la page 386
1 2 ... 382 383 384 385 386 387 388 389 390 391 392 ... 985 986

Commentaires sur ces manuels

Pas de commentaire