Platforms to show: All Mac Windows Linux Cross-Platform

Back to Graphics class.

Graphics.MeasureRotatedTextMBS(text as string, byref Width as Double, byref Height as Double, FontWidth as Integer = 0) as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Graphics & Pictures MBS Util Plugin 17.0 ✅ Yes ✅ Yes ❌ No ❌ No Desktop only
Measure size of text.

This is compatible to text drawing in DrawRotatedTextMBS, so you can use it to calculate the required space.
No rotation is used for measurement.
Returns true on success and false on failure.

Some examples using this method:

Blog Entries

Xojo Developer Magazine

The items on this page are in the following plugins: MBS Util Plugin.


The biggest plugin in space...