Click here to Skip to main content
15,893,588 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
XML
Hello Every,

I am converting a html to pdf using winnovative. I am able to generate pdf with  bookmark but not in  Expand/Collapse manner.I want to create pdf in Expand/Collapse Manner.Below  is what i am doing to create a pdf using winnovative.


     pdfconverter.PdfBookmarkOptions.AllowDefaultTitle = True
     pdfconverter.PdfBookmarkOptions.TagNames = New String() {"TD"}
     pdfconverter.PdfBookmarkOptions.ClassNameFilter = "ACTIVITY"


And my HTML is like follow.

<TABLE>

<TR>
<TD  class="ACTIVITY" style="vertical-align:middle; text-align: center; font-size:small; font-weight:bold;"> CHAPTER 1
<TD  class="ACTIVITY" style="vertical-align:middle; text-align: center; font-size:small; font-weight:bold;"> CHAPTER 1.1

</TD>
</TR>
<TABLE>



By using above code i am able to generate a pdf with bookmark but note in Expand/Collapse Manner.

Any solution for creating a pdf in Expand/Collapse manner.

Thanks in advance
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900