Polyline Labels


wjmdes
 Share

Recommended Posts

Labels are not "Rich Text" so generally the answer is no.  However, there is a .center(n) method for text strings in Ruby.  For that macro we would have to first change the value from numeric to string using .to_s and add the " acres" and then center it.

 

Here's the revised macro:

 

referenced ? obj=referenced : obj=owner

((obj.area/43560).round(3).to_s + " acres").center(20)

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
 Share