PDFsharp & MigraDoc Foundation

PDFsharp - A .NET library for processing PDF & MigraDoc Foundation - Creating documents on the fly
It is currently Sat Sep 07, 2024 7:25 pm

All times are UTC


Forum rules


Please read this before posting on this forum: Forum Rules



Post new topic Reply to topic  [ 6 posts ] 
Author Message
PostPosted: Tue Jul 26, 2011 11:38 am 
Offline

Joined: Tue Jul 26, 2011 10:29 am
Posts: 1
Is it possible to link coordinate to named destination/bookmark in PDF by using PDFsharp or MigraDoc?
The AddDocumentLink can only link to page.


Top
 Profile  
Reply with quote  
PostPosted: Tue Jul 26, 2011 2:00 pm 
Offline
PDFsharp Guru
User avatar

Joined: Mon Oct 16, 2006 8:16 am
Posts: 3109
Location: Cologne, Germany
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.

_________________
Regards
Thomas Hoevel
PDFsharp Team


Top
 Profile  
Reply with quote  
PostPosted: Mon Apr 29, 2013 10:17 am 
Offline

Joined: Mon Apr 08, 2013 6:18 am
Posts: 5
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


Top
 Profile  
Reply with quote  
PostPosted: Mon Apr 29, 2013 1:17 pm 
Offline
PDFsharp Guru
User avatar

Joined: Mon Oct 16, 2006 8:16 am
Posts: 3109
Location: Cologne, Germany
This sample show how to use AddHyperlink:
http://www.pdfsharp.net/wiki/HelloMigraDoc-sample.ashx

_________________
Regards
Thomas Hoevel
PDFsharp Team


Top
 Profile  
Reply with quote  
PostPosted: Tue Apr 30, 2013 11:36 am 
Offline

Joined: Mon Apr 08, 2013 6:18 am
Posts: 5
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


Top
 Profile  
Reply with quote  
PostPosted: Tue Apr 30, 2013 12:09 pm 
Offline
PDFsharp Guru
User avatar

Joined: Mon Oct 16, 2006 8:16 am
Posts: 3109
Location: Cologne, Germany
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).

_________________
Regards
Thomas Hoevel
PDFsharp Team


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC


Who is online

Users browsing this forum: Bing [Bot] and 55 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Privacy Policy, Data Protection Declaration, Impressum
Powered by phpBB® Forum Software © phpBB Group