Ifwidget – BrightSign Object Reference Manual (FW 5.1) User Manual
Page 94

86
o offset: The offset (in pixels) of the display in the multiscreen array. For example, using an offset of
1920 in a two-screen array of 1920x1080 screens would specify this player as the right-hand (master)
display.
o size: The total width (in pixels) of the multiscreen array. For example, defining a size of 3840 would
specify a two-screen array of 1920x1080 screens.
o ip_address: A string specifying the multicast IP address for the PTP synchronization process (e.g.
"239.192.0.0")
o port: A string specifying the multicast port for the PTP synchronization process (e.g. "1234").
Note: Players can support more than one multiscreen ticker at a time.
This ifWidget interface provides the following:
•
SetForegroundColor(color As Integer) As Boolean: Sets the foreground color in ARGB format.
•
SetBackgroundColor(color As Integer) As Boolean: Sets the background color in ARGB format.
•
SetFont(font_filename As String) As Boolean: Sets the font_filename using a TrueType font (for
example,
SD:/ComicSans.ttf).
•
SetBackgroundBitmap(background_bitmap_filename As String, stretch As Boolean) As
Boolean: Sets the background bitmap. If stretch is True, then the image is stretched to the size of the window.
•
SetSafeTextRegion(region As roRectangle) As Boolean: Specifies the rectangle within the widget
where the text can be drawn safely.
•
SetRectangle(r As roRectangle) As Boolean: Changes the size and positioning of the widget rectangle
using the passed roRectangle object.
•
Show() As Boolean: Displays the widget. After creation, the widget is hidden until Show() is called.
•
Hide() As Boolean: Hides the widget.
•
GetFailureReason() As String: Yields additional useful information if a function return indicates an error.