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

  • 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 894
Create and Format Text
13-43
fontFamily = FontFamily('Arial');
fontFamily.BackupFamilyNames = {'Helvetica'};
t.Style = {fontFamily};
t.Bold = true;
close(d);
rptview('test','html');
Use these format objects and format properties to format text.
Formatting Format Object Format Property
Font FontFamily FontFamilyName
Backup font (HTML only) FontFamily n/a
Complex script font (for
example, Arabic)
FontFamily n/a
East Asian font FontFamily n/a
Font size FontSize FontSize
Foreground color Color Color
Background color BackgroundColor BackgroundColor
Bold Bold Bold
Italic Italic Italic
Subscript or superscript VerticalAlign n/a
Strike through Strike Strike
Underline type (single,
double, etc.)
Underline Underline
Underline color Underline n/a
Preserve white space WhiteSpace WhiteSpace
Format Text Using Microsoft Word Style Sheets
You can format a paragraph using a style defined in the Word template used to generate
the report.
To define a text style in a Word template, start by using these steps.
Zobrazit stránku 894
1 2 ... 890 891 892 893 894 895 896 897 898 899 900 ... 985 986

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

Žádné komentáře