iTextSharp supports creation of shapes and paths with PdfContentByte
class, there you can set colors and paint curves and basic elements ... is there a mechanism which does the other way? I am able to get content by calling PdfReader.GetPageContent(...)
but I didn't find a "parser" to read those operations, apply them to graphics context and for example paint it on a panel.
Example:
1 1 1 RG
1 1 1 rg
0.12 0 0 0.12 16 31 cm
q
480 421 m
4318 421 l
4318 5459 l
480 5459 l
480 421 l W n
0.074509806931 0.074509806931 0.074509806931 RG
0.074509806931 0.074509806931 0.074509806931 rg /OC /oc1 BDC
....
Thanks for reply!