Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Panel
borderColor#3D3D3D
bgColor#F4F4F4
titleColor#3D3D3D
borderWidth0
titleBGColor#3D3D3D
borderStylesolid

ON THIS PAGE

Table of Contents
indent20px

...

Code Block
rectangle = CreateObject("roRectangle", 0, 0, 1024, 768)
i = CreateObject("roImageWidget", rectangle)

ifImageControl 

DisplayFile(image_filename As String) As Boolean

...

  • Filename: The name of the image file
  • Mode: The image mode. See the entry for SetDefaultMode() below for more details.
  • Transition: The image transition setting. See the entry for SetDefaultTransition() below for more details.
  • EncryptionAlgorithm: The file-encryption algorithm. Currently the options are "AesCtr" and "AesCtrHmac".
  • EncryptionKey: The key to decrypt the image file. This is a byte array consisting of 128 bits of key, followed by 128 bits of IV.

See the Image Decryption descrption in the roImagePlayer entry for details on displaying encrypted images.

...