I know I’m missing something simple, but I am having trouble adding multi-line labels.
It seems like this should work, but it doesn’t. It just puts the text ‘\n’ in between the two fields.
sf.Labels.Generate(""“Prec:”" + [precinct] + “”/n"" + ““Pop:”” + [voter_pop]", MapWinGIS.tkLabelPositioning.lpCenter, False)
Anyone know how to do this?
Sorry - just noticed I have /n in the example. I have tried it both ways, /n and \n without success.
Thanks, Paul, that worked. I did it like this:
Dim ex As String = """Prec:"" + [precinct] + """ & Environment.NewLine & """ + "" Pop:"" + [voter_pop]"
MapWinGIS.tkLabelPositioning.lpCenter, False)
sf.Labels.Generate(ex, MapWinGIS.tkLabelPositioning.lpCenter, False)