Brightsign Object Reference Manual (FW 5.1) Instrukcja Użytkownika Strona 82

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 341
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 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
Przeglądanie stron 81
1 2 ... 77 78 79 80 81 82 83 84 85 86 87 ... 340 341

Komentarze do niniejszej Instrukcji

Brak uwag