Font Size with Graphics on Android

How do you assign font size with graphics on Android?

These methods don’t work:

g.FontSize = 25
g.font.Size = 25

Any help would be greatly appreciated.

I’m wondering if the MBS GraphicsMagick Plugin by Monkeybread Software will work with Xojo Graphics on Android, as a possible solution.

You didn’t say what isn’t working. What are you trying to do?

For method:

g.FontSize = 25

I get the following error:
“Type “Graphics” has no member named “FontSize””

For method:

g.font.Size = 25

I get the following error:
“Cannot assign a value to this property”

g.Font = New Font(“Arial”, 25)

That works! Thank you so much!

1 Like

Happy that you can move on! Have a great 2024!