PDFsharp & MigraDoc Foundation http://forum.pdfsharp.de/ |
|
Bookmark/Outline that links to somewhere within a page http://forum.pdfsharp.de/viewtopic.php?f=2&t=1298 |
Page 1 of 1 |
Author: | NoUsername [ Tue Aug 17, 2010 9:19 am ] |
Post subject: | Bookmark/Outline that links to somewhere within a page |
The normal PdfOutline outline = PdfDocument.Outlines.Add(... -Method only allows you to link to a page (top of the page) However i want to link to a certain point (from which i know the pixel coordinates) within the page. I figured that i could maybe set the: outline.Reference.ObjectID -Property, but i failed because i could not find an object/... that i could place at the point i want that is compatible to (a subclass of) PdfObject. I think i need a PdfObject that i can use PdfInternals.GetObjectID(...) to obtain the id that i could then assign to the above property. Could this work or would my solution fail anyway? Or is there maybe any other/easyer/better way? Thanks in advance! |
Author: | NoUsername [ Thu Aug 19, 2010 8:37 am ] |
Post subject: | Re: Bookmark/Outline that links to somewhere within a page |
Maybe it wasn't clear what i meant: what i want to get are bookmarks that take you to some point within a page. The bookmarks i can add with the outline-class only take me to the beginning of a page. It must be possible to create such bookmarks, because they exist in one of your example documents: http://www.pdfsharp.net/wiki/GetFile.as ... output.pdf (the "From Wikipedia...."-bookmark for example) If it's not possible to create them with one of the classes from pdfSharp, ist there a way to create such bookmarks via PdfObjects (somehow like adding the open action as in this tutorial http://www.pdfsharp.net/wiki/WorkOnPdfO ... ample.ashx )? Any help is appreciated! Thanks |
Author: | () => true [ Mon Aug 23, 2010 10:09 am ] |
Post subject: | Re: Bookmark/Outline that links to somewhere within a page |
I understand what you need - but had to forward this to our PDF guru. |
Author: | NoUsername [ Wed Sep 15, 2010 6:47 am ] |
Post subject: | Re: Bookmark/Outline that links to somewhere within a page |
Any update/news on this one yet? Thanks |
Page 1 of 1 | All times are UTC |
Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |