Filemaker TH325Z/A Arkusz Danych Strona 192

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 238
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 191
192 FileMaker Functions Reference
RGB
Format
RGB(red;green;blue)
Parameters
red - any numeric expression or numeric field containing a value ranging from 0 to 255
green - any numeric expression or numeric field containing a value ranging from 0 to 255
blue - any numeric expression or numeric field containing a value ranging from 0 to 255
Data type returned
number
Description
Returns an integer number from 0 to 16777215 obtained by combining the red, green,
and blue values (each ranging from 0 to 255) to represent a color. Numbers returned by
this function can be passed as the color parameter in the TextColor or
TextColorRemove functions. The RGB function uses the following formula to calculate
the result:
red * 256
2
+ green * 256 + blue
where 256
2
= 65536
Examples
RGB(255;0;0) returns 16711680 representing red.
RGB(0;255;0) returns 65280 representing green.
RGB(0;0;255) returns 255 representing blue.
RGB(0;0;0) returns 0 representing black.
RGB(255;255;255) returns 16777215 representing white.
TextColor
Format
TextColor(text;RGB(red;green;blue))
Parameters
text - any text expression
or text field
RGB(red;green;blue) - any integer number from 0 to 16777215 obtained by
combining the red, green, and blue values (each ranging from 0 to 255) to represent a
color
Przeglądanie stron 191
1 2 ... 187 188 189 190 191 192 193 194 195 196 197 ... 237 238

Komentarze do niniejszej Instrukcji

Brak uwag