MATLAB SIMULINK 7 - GRAPHICAL USER INTERFACE Manual de usuario Pagina 361

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 500
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de 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);
Vista de pagina 360
1 2 ... 356 357 358 359 360 361 362 363 364 365 366 ... 499 500

Comentarios a estos manuales

Sin comentarios