PDFsharp & MigraDoc Foundation
https://forum.pdfsharp.net/

How to create a hyperlink for a pdf files?
https://forum.pdfsharp.net/viewtopic.php?f=2&t=1691
Page 1 of 1

Author:  gcaufy [ Tue Jun 14, 2011 8:22 am ]
Post subject:  How to create a hyperlink for a pdf files?

my code:

Code:
PdfRectangle rect = new PdfRectangle(rec);
        PdfLinkAnnotation link = PdfLinkAnnotation.CreateWebLink(rect, "www.google.com");
        page.Annotations.Add(link);


it can create a hyperlink for a rectangle
and there is a black border with
how to remove the border?

help me ,Thanks

Author:  Thomas Hoevel [ Tue Jun 14, 2011 11:21 am ]
Post subject:  Re: How to create a hyperlink for a pdf files?

See here:
viewtopic.php?p=2230#p2230

Use one of these methods of PdfPage:
  • AddDocumentLink
  • AddWebLink
  • AddFileLink

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/