Select to view content in your preferred language

put special character in label expression

2254
3
Jump to solution
05-16-2012 06:43 AM
NathanOgden
Occasional Contributor
I would like to use this character in my label expression:
http://www.fileformat.info/info/unicode/char/2198/index.htm

It displays fine in the label expression but I can't see it on the map.  It is a label on a polygon.
Label Expression is as follows:
Function FindLabel ( [Direction]  ) myDir = [Direction] if myDir = "southeast" then   FindLabel = "???" End if End Function
Tags (2)
0 Kudos
1 Solution

Accepted Solutions
DavidWilliams
Regular Contributor
Replace the line:

FindLabel = "???"

with:

FindLabel = "<FNT name='Arial Unicode MS' size='18'>" & "???" & "</FNT>"

View solution in original post

0 Kudos
3 Replies
DavidWilliams
Regular Contributor
Replace the line:

FindLabel = "???"

with:

FindLabel = "<FNT name='Arial Unicode MS' size='18'>" & "???" & "</FNT>"
0 Kudos
NathanOgden
Occasional Contributor
Thank you for the prompt reply.
For some reason it works in the label maker but is not showing up on the map.[ATTACH=CONFIG]14363[/ATTACH]
In further testing, if I put a period in front it 'initializes' it and the label works.[ATTACH=CONFIG]14364[/ATTACH]
0 Kudos
NathanOgden
Occasional Contributor
Sorry, just for clarification, the first line above also works when there is a period without the html code.
0 Kudos