MATLAB MATLAB REPORT GENERATOR - RELEASE NOTES Podręcznik Użytkownika Strona 702

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 986
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 701
12 Classes – Alphabetical List
12-208
Method Purpose
clone
Use ListItem.clone the same way you
use Paragraph.clone.
Clone a list item.
Examples
Create List Items for an Ordered List
import mlreportgen.dom.*;
doctype = 'html';
d = Document('test',doctype);
p = Paragraph('Perform the following steps.');
append(d,p);
step1 = ListItem('Do this step first.');
textForItem = Text('Next, do this.');
step2 = ListItem(textForItem);
procedure = OrderedList();
append(procedure,step1);
append(procedure,step2);
append(d,procedure);
close(d);
rptview('test',doctype);
“Create and Format Lists”
See Also
mlreportgen.dom.OrderedList | mlreportgen.dom.UnorderedList
Przeglądanie stron 701
1 2 ... 697 698 699 700 701 702 703 704 705 706 707 ... 985 986

Komentarze do niniejszej Instrukcji

Brak uwag