Brightsign Object Reference Manual (FW 5.1) Uživatelský manuál Strana 82

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 341
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 81
74
roImageWidget
This object can be used in place of roImagePlayer in cases where the image is displayed within a rectangle. Using a
roImageWidget can result in more pleasing aesthetics for image player creation. Beyond this, roImageWidget behaves
identically to roImagePlayer.
Object Creation: The image widget area is generated using an roRectangle object.
rectangle = CreateObject("roRectangle", 0, 0, 1024, 768)
i = CreateObject("roImageWidget", rectangle)
Interfaces: ifImageControl
See roImagePlayer for a description of ifImageControl and its attendant methods.
This object includes overloaded PreloadFile() and DisplayFile() methods. These methods receive
an roAssociativeArray object that stores various options to be passed. They must be used when displaying images across
multiple screens in an array, or displaying a portion of an imagethough they can also be used in place of the original
method calls.
Example: This code uses PreloadFile() method for a multiscreen display:
i=CreateObject("roImageWidget")
a=CreateObject("roAssociativeArray")
a["Filename"] = "test.jpg"
a["Mode"] = 1
a["Transition"] = 14
Zobrazit stránku 81
1 2 ... 77 78 79 80 81 82 83 84 85 86 87 ... 340 341

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

Žádné komentáře