DrawText alignment "RIGHT" does not work

D

Deleted member 103

Guest
this works:
Canvas1.DrawText("This is a nice sentence.", 200dip, 200dip, Typeface.DEFAULT_BOLD, 30, Colors.Blue, "LEFT")

that does not work
Canvas1.DrawText("This is a nice sentence.", 200dip, 200dip, Typeface.DEFAULT_BOLD, 30, Colors.Blue, "RIGHT")

Can it be?
 

colin9876

Active Member
Licensed User
Thats reminds me the example of the Drawtext which comes up in the box when you type .Drawtext is wrong. It has an extra parameter in it at the end.
It confused me for a while as I tried it with the exact fields as shown in the example which has (...,"LEFT",5) and its says too many parameters. The last number is not required.

Maybe Erel is already aware of this but just mentioning it as worth fixing the next release.
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…