PDFsharp & MigraDoc Foundation https://forum.pdfsharp.net/ |
|
How to create link coordinate to named destination/bookmark https://forum.pdfsharp.net/viewtopic.php?f=2&t=1725 |
Page 1 of 1 |
Author: | nareshthandu [ Tue Jul 26, 2011 11:38 am ] |
Post subject: | How to create link coordinate to named destination/bookmark |
Is it possible to link coordinate to named destination/bookmark in PDF by using PDFsharp or MigraDoc? The AddDocumentLink can only link to page. |
Author: | Thomas Hoevel [ Tue Jul 26, 2011 2:00 pm ] |
Post subject: | Re: How to create link coordinate to named destination/bookmark |
Currently MigraDoc can only link to the page (that's on our nice-to-have feature list). With PDFsharp you can link to any point. |
Author: | hemasekhar [ Mon Apr 29, 2013 10:17 am ] |
Post subject: | Re: How to create link coordinate to named destination/bookm |
Can you please provide sample code how to create a hyperlink to particular page inside the document or open outside pdf. Thanking you, Hema.V |
Author: | Thomas Hoevel [ Mon Apr 29, 2013 1:17 pm ] |
Post subject: | Re: How to create link coordinate to named destination/bookm |
This sample show how to use AddHyperlink: http://www.pdfsharp.net/wiki/HelloMigraDoc-sample.ashx |
Author: | hemasekhar [ Tue Apr 30, 2013 11:36 am ] |
Post subject: | Re: How to create link coordinate to named destination/bookm |
Thank you for immediate response. Is it possible to do with PDF Sharp without using MigraDoc? Please share the sample. Thanks in advance. -Hema.V |
Author: | Thomas Hoevel [ Tue Apr 30, 2013 12:09 pm ] |
Post subject: | Re: How to create link coordinate to named destination/bookm |
hemasekhar wrote: Is it possible to do with PDF Sharp without using MigraDoc? Yes, use methods AddDocumentLink, AddWebLink, or AddFileLink from the PdfPage object.The PDFsharp source ZIP includes all samples (I'm afraid we don't have a sample for these three methods, but you can see in the MigraDoc source code how they can be used). |
Page 1 of 1 | All times are UTC |
Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |