How can I manage displaying variable text of unkown length without line breaks on an LCD pad?
There are two methods that will allow for sizing. One will return the current LCD size, and the other (based on the text you pass in, and also on your current LCDSetFont() settings) provides the size in px you will need for that text. GetLCDSize() Function: Returns the XSize and YSize (in LCD coords) of the tablet currently specified in the SigPlus.ini. Return Value: unsigned long – (YSize upper 16 bits, XSize lower 16 bits) GetLCDTextSize(str StringToBeDisplayedOnLCD) Function: Returns the XSize and YSize (in LCD coords) necessary to display on the LCD the string argument, based on the font parameters (see LCDSetFont() method for details). Use to determine the LCD size necessary for your display Text.