MATLAB MATLAB REPORT GENERATOR - RELEASE NOTES Betriebsanweisung Seite 555

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 986
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 554
mlreportgen.dom.CustomAttribute class
12-61
Properties
Id — ID for document element
string
A session-unique ID is generated as part of document element creation. You can specify
an ID to replace the generated ID.
Name — Attribute name
string
Attribute name, specified as a string.
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 — Value of this attribute
string
Value of this attribute, specified as a string.
Examples
Create Custom Attributes for a List
This example shows how to define custom attributes and append them to an unordered
list.
import mlreportgen.dom.*;
d = Document('test');
ul = UnorderedList();
Seitenansicht 554
1 2 ... 550 551 552 553 554 555 556 557 558 559 560 ... 985 986

Kommentare zu diesen Handbüchern

Keine Kommentare