PDFsharp & MigraDoc Foundation

PDFsharp - A .NET library for processing PDF & MigraDoc Foundation - Creating documents on the fly
It is currently Mon May 13, 2024 12:05 am

All times are UTC


Forum rules


Please read this before posting on this forum: Forum Rules



Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Bookmark Link
PostPosted: Fri Nov 06, 2009 9:41 pm 
Offline

Joined: Fri Nov 06, 2009 9:34 pm
Posts: 1
When creating a new document using either PDFSharp or Migradoc, is there a way to add a bookmark to a different file.

I've written an application that writes file hyperlinks to a new pdf document, so when a user clicks that hyperlink, it changes to the referenced pdf file.

I'd like to add a bookmark to each of the referenced pdf files so that when a user clicks the bookmark, it changes to the index pdf.

Is there a way to set a file bookmark using this library?

Edit: On further research, is there a way to access the "actions" of a bookmark from these libraries?

When check the properties of a bookmark in Adobe Acrobat, it allows you to add "Actions" to a bookmark. Is that something these libraries can provide?


Top
 Profile  
Reply with quote  
 Post subject: Re: Bookmark Link
PostPosted: Mon Nov 09, 2009 9:33 am 
Offline
PDFsharp Guru
User avatar

Joined: Mon Oct 16, 2006 8:16 am
Posts: 3097
Location: Cologne, Germany
You can add hyperlinks with either PDFsharp or MigraDoc.

Hyperlink "actions" are not my area of expertise. But it should be possible to add them using PDFsharp (using specialized PDFsharp classes if they exist or adding objects).

Here's a sample that shows how to create special objects:
http://www.pdfsharp.net/wiki/WorkOnPdfO ... ample.ashx

_________________
Regards
Thomas Hoevel
PDFsharp Team


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

All times are UTC


Who is online

Users browsing this forum: Google [Bot] and 74 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