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

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 986
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 864
Clone a DOM Object
13-13
Clone a DOM Object
If you attempt to append an object more than once to the same object or to append an
object to multiple objects, the append function throws an error. If you need to append an
object multiple times, use the clone function to create copies of the object.
d = Document('MyDoc');
text = append(d,'Hello World');
text.Color = 'magenta';
text = clone(text);
text.Color = 'cyan';
append(d,text);
See Also
Functions
mlreportgen.dom.Paragraph.clone
Related Examples
“Add Content to a Report” on page 13-11
“Construct a DOM Object” on page 13-6
More About
“Document Object Model” on page 13-4
Przeglądanie stron 864
1 2 ... 860 861 862 863 864 865 866 867 868 869 870 ... 985 986

Komentarze do niniejszej Instrukcji

Brak uwag