Vai al contenuto

GLabel

Component alternative to FixedText for all cases were the string does not have to be translated. For example: %, bar, mmIt has the following properties:
  • alignment: 0 = aligned left, 1 = centered, 2 = aligned right.
  • fillString: specifies a string constant to be used to fill spaces at he right of the text. Typically, fill-in dots such as “.” or ” .”. Example with ” .”: Example of string: . . . . . . . . If the properties alignment is other than zero, the fill string will include the area at the sides of the original string (alignment = 1) or at the left (alignment = 2).
  • text: text to be displayed. Using char “\” as separator, it’s possible to divide the text on multiple lines. To increase space between lines use more than one “\” chars as separator (example: “\\\”).
  • customFont: allows to select as component font, any font installed on the machine. Writing the name of the font, if is found, the font is used. Font size and style properties, are used also if customFont is enabled. Available only is G-VisionXXX systems from revision 4.7.1