Hi all,

I am new to the iText community and am using the C# version of the library.

I have an existing PDF which I have to add content on top of (lines, curves,
text, etc). I have the new content given to me in a text file of Content
Stream... an example is below of the Content Stream:

********START CONTENT STREAM*********
 q
1 0 0 1 29.046181172291313 823.6838365896981 cm
0.1678507992895204 0 0 -0.1678507992895204 0 0 cm
0 G
0 g
4.265151515151516 w
1 J
1 j
92 4437 m
97 4425 l
102 4411 l
2298 1700 l
2300 1701 l
 S
2351 1636 m
2357 1634 l
2362 1633 l
2369 1633 l
2378 1633 l
2387 1633 l
2396 1633 l
2405 1633 l
2414 1632 l
2422 1632 l
 S
2419 1630 m
2412 1643 l
2407 1658 l
2403 1677 l
2400 1696 l
2401 1717 l
2405 1737 l
 S
 Q

********END CONTENT STREAM***********

Is there a way I can insert this to a new layer or directly to the PDF using
a Stamper or Writer? The library has so many classes and functions to tinker
with.

Thanks,

Tom



--
View this message in context: 
http://itext-general.2136553.n4.nabble.com/Adding-Content-Stream-to-Existing-PDF-tp4656722.html
Sent from the iText - General mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference 
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: 
http://itextpdf.com/themes/keywords.php

Reply via email to