TextBlockSize example?

The documentation for TextBlockSize has the following:

TextBlockSize (value As Text, maxWidth As Double = -1, maxHeight As Double = -1, alignment As iOSTextAlignment = iOSTextAlignment.Left, truncateLastLine As Boolean = False) As Size
Calculates the size of a TextBlock.

I would like to see an example of how to use this in code please. What is the return of this? Is “Size” an array?

click on SIZE in the LR and it will tell you what it is…

in this case a class structure consisting of two properties WIDTH and HEIGHT

http://developer.xojo.com/xojo-core-size