MATLAB SIMULINK 7 - GRAPHICAL USER INTERFACE Uživatelský manuál Strana 391

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 500
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 390
Adjust Programmatic UI Layouts Interactively
10-59
When you execute the statement, first getrect executes to let you set a position using
rbbox. When you release the mouse button, the uisetcolor dialog opens for you to
specify a background color.
Set Font Characteristics Interactively
The uisetfont dialog gives you access to the characteristics of all fonts on your system.
Use it to set font characteristics for any component that displays text. It returns a
structure containing data that describes the property values you chose.
FontData = uisetfont(object_handle)
FontData =
FontName: 'Arial'
FontWeight: 'bold'
FontAngle: 'normal'
FontSize: 10
FontUnits: 'points'
uisetfont returns all font characteristics at once. You cannot omit any of them unless
you delete a field from the structure. You can use uisetfont when creating a component
that has a String property. You can also specify the string itself at the same time by
Zobrazit stránku 390
1 2 ... 386 387 388 389 390 391 392 393 394 395 396 ... 499 500

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

Žádné komentáře