mbd7878

arcpy bold, italic, underline stand alone script

Discussion created by mbd7878 on Jan 3, 2012
Latest reply on Jan 4, 2012 by mbd7878
How would I Bold a portion of my text element?  This script loses its next line functionality if I use <BOL></BOL>.  How do I correct this?


finaltext = ("<BOL>Result1:</BOL>" + '\n' + textValue1 + '\n' + " " + '\n' + "<BOL>Result2:</BOL>" + '\n' + textValue2 + '\n' + " " + '\n' + "<BOL>Result3:</BOL>" + '\n' + textValue3 + '\n' + " ")
el1to3.text = finaltext

This script will Bold the Result1 but all the rest of it is jumbled on one line on top of each other. 

I would like it to look like this-

Result1:
a
b
c
Result2:
a
b
c

Outcomes