I am generating dynamic PDF using iTextsharp lib. Need to show/hide table in pdf. I did google a lot but no luck. I want to know is it possible using iTextsharp lib or should check the track. Thanks!
Asked
Active
Viewed 234 times
0
-
If you create a PDF which shall contain a table, add a table. If you create a PDF which shall not contain one, don't add one. – mkl May 06 '16 at 12:46
-
@mkl: thanks for suggestions :( – swam41 May 06 '16 at 16:20
-
It may sound harsh but please keep in mind that pdf essentially is a format for generating a fixed document appearance across platforms, not for dynamic behavior. There are mechanisms to introduce dynamic behavior but they predominantly use pdf only as container for other formats like flash or XFA. And both of those either are already deprecated or are to be deprecated in the next major pdf specification update. – mkl May 07 '16 at 07:54
-
We can hide/show content using Optional Content in iText(java). I am working on such implementation. If I make any progress I will share the sample code, so that you can work in itextSharp – prodeveloper Aug 04 '16 at 07:03