Brightsign Object Reference Manual (FW 5.1) Manuel d'utilisateur Page 70

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 341
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 69
62
// %Y Four digit year
// Time format
//
// %H The hour using 24-hour clock (00 to 23)
// %I The hour using 12-hour clock (01 to 12)
// %k The hour using 24-hour clock (0 to 23); single digits are preceded by a blank.
// %l The hour using 12-hour clock (1 to 12); single digits are preceded by a blank.
// %M Minutes (00 to 59)
// %S Seconds (00 to 59)
The 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:/Ariel.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.
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.
SetRectangle(r As roRectangle) As Boolean: Changes the size and positioning of the widget rectangle
using the passed roRectangle object.
Vue de la page 69
1 2 ... 65 66 67 68 69 70 71 72 73 74 75 ... 340 341

Commentaires sur ces manuels

Pas de commentaire