MATLAB MATLAB REPORT GENERATOR - RELEASE NOTES Guía de usuario Pagina 895

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 986
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 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.
Vista de pagina 894
1 2 ... 890 891 892 893 894 895 896 897 898 899 900 ... 985 986

Comentarios a estos manuales

Sin comentarios