Brightsign Object Reference Manual (FW 5.1) Manual de usuario Pagina 82

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 341
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 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
Vista de pagina 81
1 2 ... 77 78 79 80 81 82 83 84 85 86 87 ... 340 341

Comentarios a estos manuales

Sin comentarios