Quantcast
Channel: Aspose.Pdf Product Family
Viewing all articles
Browse latest Browse all 3131

second text is not getting bold

$
0
0
can you help me please. i posted my issue on this link below.

http://www.aspose.com/docs/display/pdfnet/HTML+Tags+in+Text


In view of my 2 scenarios, i have problem with scenario#2. second text is not getting bold.
Although, IsHtmlTagSupported = true; and IsHtml5Supported = true;
Can you please check this.

SCENARIO1: all text become bold
<p><strong>TEXT1</strong></p>
<p><strong>TEXT2</strong></p>


SCENARIO2: first text become bold only
<p>
    <strong>TEXT1</strong>
    <br />
    <strong>TEXT2</strong>
</p>


code:
var txt= new Text(section1 mytxtstr);
txt.IsHtmlTagSupported = true;
section1.Paragraphs.Add(txt);



Rolly Hernando
Email: rlhernando@iscksa.com/rollyhernando@live.com


Viewing all articles
Browse latest Browse all 3131

Trending Articles