Itextsharp Add Link to pdfstamper

0

I have a pdf that I upload through Pdfstamper, when I add the following code to include a link it does not work

                Chunk chunk = new Chunk("The Best iText Questions on StackOverflow", Fuentelink);
                chunk.SetAnchor("http://pages.itextpdf.com/ebook-stackoverflow-questions.html");
                Phrase p = new Phrase("Download ");
                p.Add(chunk);
                p.Add(" and discover more than 200 questions and answers.");
                ColumnText ct1 = new ColumnText(cb);
                ct1.SetSimpleColumn(36, 700, 559, 750);
                ct1.AddText(p);
                ct1.Go();
    
asked by Douglas Trejos 03.09.2018 в 16:34
source

0 answers