Bold Issue
How do I replace a bold value without setting the html tags to true or If I set the html tags to true then the content of the pdf gets cut off. If this can be handled through code to plz let me know.
PLzzzzz HELP!!
PLzzzzz HELP!!
Comments
There are two ways to combine bold®ular text in one text object: TextObject with html tags, and RichObject.
Please send me the example of pdf with content cut off.
thanx but can you plzz send the code to use a RichObject cause we tried and it still does not replace the and tags with /b and /b0.
RichObject does not support html tags, it is a richtext (rtf) formatting. You need to select the word in the rich editor and click "B" button.
Cause I require that in a sentence only a word or two should be bold and not the entire sentence.
Plzzz help
e.g
List<RichTextBox> richbx = new List<RichTextBox>()
richbx.Text = " \b This font is bold \b0 ";
You should specify full rtf text, if you create an object dynamically:
richObject.Text =
"{\rtf1\ansi\ansicpg1251\deff0\deflang1049{\fonttbl{\f0\fnil\fcharset0 Tahoma;}{\f1\fnil\fcharset204 Tahoma;}}
{\colortbl ;\red0\green0\blue0;}
\viewkind4\uc1\pard\cf1\lang1033\f0\fs20 Dear \b [Customers.ContactName]\b0 !\cf0\lang1049\f1\fs17\par
}"