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

  • 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 685
12 Classes – Alphabetical List
12-192
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 — Use italic or roman for text object
[] (default) | logical value
The possible values are:
0— uses roman (straight) text
1— renders text in italic
Data Types: logical
Examples
Create paragraph that whose text is italic by default
import mlreportgen.dom.*
d = Document('mydoc');
p = Paragraph('italic text');
p.Style = {Italic};
append(d,p);
close(d);
rptview('mydoc', 'html');
Add Upright Text
import mlreportgen.dom.*
d = Document('mydoc');
p = Paragraph('italic text ');
Zobrazit stránku 685
1 2 ... 681 682 683 684 685 686 687 688 689 690 691 ... 985 986

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

Žádné komentáře