MATLAB MATLAB REPORT GENERATOR - RELEASE NOTES Betriebsanweisung Seite 722

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 986
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 721
12 Classes – Alphabetical List
12-228
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.
Examples
Add Margins to Paragraph That Has a Border
import mlreportgen.dom.*;
doctype = 'html';
d = Document('test',doctype);
p = Paragraph('Hello World');
p.Style = {Border('solid','Red'), ...
HAlign('center'),...
OuterMargin('0pt','0pt','0pt','24pt')};
append(d, p);
p = Paragraph('Greetings from MATLAB');
p.Style = {Border('solid','green'), ...
HAlign('center')};
append(d,p);
p = Paragraph('End of report');
p.Style = {Border('solid','blue'),...
HAlign('center'),...
OuterMargin('0pt','0pt','0pt','12pt')}
append(d,p);
close(d);
rptview('test',doctype);
See Also
mlreportgen.dom.InnerMargin
Seitenansicht 721
1 2 ... 717 718 719 720 721 722 723 724 725 726 727 ... 985 986

Kommentare zu diesen Handbüchern

Keine Kommentare