MATLAB MATLAB REPORT GENERATOR - RELEASE NOTES Betriebsanweisung Seite 860

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 986
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 859
13 Create a Report Program
13-8
Get and Set DOM Object Properties
To get or set the property of a document object, use dot notation, which involves
appending a period to the name of a variable that references the object, followed by
the property name. For example, the following line saves the current font family of a
paragraph referenced by p and sets it to a new font family.
saveFont = p.FontFamily;
p.FontFamily = 'Arial';
Related Examples
“Construct a DOM Object” on page 13-6
“Use Format Properties” on page 13-24
More About
“Document Object Model” on page 13-4
Seitenansicht 859
1 2 ... 855 856 857 858 859 860 861 862 863 864 865 ... 985 986

Kommentare zu diesen Handbüchern

Keine Kommentare