MATLAB SIMULINK 7 - GRAPHICAL USER INTERFACE Manuale Utente Pagina 361

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 500
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 360
Add Components to a Programmatic UI
10-29
uisetfont returns the selections as a structure array:
myfont =
FontName: 'Century Schoolbook'
FontWeight: 'normal'
FontAngle: 'normal'
FontSize: 9
FontUnits: 'points'
You can use this information to set font characteristics of a component in the UI:
btn = uicontrol;
btn.FontName = myfont.FontName;
btn.FontSize = myfont.FontSize;
Alternatively, you can set all the font characteristics at once:
set(btn,myfont);
Vedere la pagina 360
1 2 ... 356 357 358 359 360 361 362 363 364 365 366 ... 499 500

Commenti su questo manuale

Nessun commento