I am using the Acm objects to build a PDF and I need to get a few bold words in the middle of a line of text.
What is the best way to get one
word in a sentence to be bold. I don't want the entire line bold, just one
word?
Here is what I am doing now:
Code: C#
AcmParagraph tagLine = new AcmParagraph();
tagLine.Style.FontSize = 10.5f;
tagLine.Style.Margin = new AcmPadding( 0, 0.1f, 0, 0 );
tagLine.Children.Add( new AcmText("We put the ") );
tagLine.Children.Add( new AcmBold( new AcmText("work") ) );
tagLine.Children.Add( new AcmText(" in ") );
tagLine.Children.Add( new AcmBold( new AcmText("work trucks.") ) );