MATLAB SIMULINK 7 - GRAPHICAL USER INTERFACE Bedienungsanleitung Seite 361

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 500
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 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);
Seitenansicht 360
1 2 ... 356 357 358 359 360 361 362 363 364 365 366 ... 499 500

Kommentare zu diesen Handbüchern

Keine Kommentare