PDFsharp & MigraDoc Foundation

PDFsharp - A .NET library for processing PDF & MigraDoc Foundation - Creating documents on the fly
It is currently Mon Jul 01, 2024 2:17 pm

All times are UTC


Forum rules


Please read this before posting on this forum: Forum Rules



Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Mon Oct 14, 2013 6:59 pm 
Offline

Joined: Mon Oct 14, 2013 6:56 pm
Posts: 2
Hello,

I'm creating hyperlinks and I want that each hyperlink would open in a new document (not on web, just with regular acrobat reader).

Is it possible to do this using PDFsharp/MigraDoc? :)

Thanks


Top
 Profile  
Reply with quote  
PostPosted: Wed Oct 16, 2013 9:18 am 
Offline
PDFsharp Guru
User avatar

Joined: Mon Oct 16, 2006 8:16 am
Posts: 3101
Location: Cologne, Germany
Hi!
kukiz wrote:
Is it possible to do this using PDFsharp/MigraDoc?
If Adobe Reader can do this, then it should be possible to do it with PDFsharp/MigraDoc.

I'm afraid I don't fully understand what you try to achieve. Do you want Adobe Reader to open multiple instances of a single PDF file? Or do you want to create links from one PDF file to another?
I'm not sure if the former can be done with Adobe Reader at all.

_________________
Regards
Thomas Hoevel
PDFsharp Team


Top
 Profile  
Reply with quote  
PostPosted: Wed Oct 16, 2013 12:04 pm 
Offline

Joined: Mon Oct 14, 2013 6:56 pm
Posts: 2
I want to create links from one PDF to another. (like Adobe Acrobat (not reader!)).
You can create it with MidraDoc like this:
Code:
Hyperlink hyperlink = cell.AddParagraph().AddHyperlink(item, HyperlinkType.File);
hyperlink..AddFormattedText("test", "TOC");


It creates a hyperlink to another file, but when i open it and press the link, it opens document in a same window (so previous one is gone).
When creating hyperlinks in AdobetAcrobat, you can choose if you wan to open them in the same window, or in a new one. :)


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

All times are UTC


Who is online

Users browsing this forum: No registered users and 65 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