PDA

View Full Version : Bold specific text in text element


jaylaw81
02-04-2008, 03:30 PM
Is there a way to bold certain text within a text field using jsfl?

I know i can do doc.setElementTextAttr( "bold", true ); but that does the whole text string. I'm looking to do something more along the lines of this.

string = "This text is <b>bold</b>";