PDFsharp & MigraDoc Foundation
https://forum.pdfsharp.net/

FileLink does not show on PDF *resolve*
https://forum.pdfsharp.net/viewtopic.php?f=2&t=1758
Page 1 of 1

Author:  Speeedy [ Thu Aug 25, 2011 12:52 pm ]
Post subject:  FileLink does not show on PDF *resolve*

Hey there

I searched for a solution but i cant find anything that works for me:
How can i place a link to an other file in the pdf document (PDFSharp lib 1.3.1)

I try this, but nothing is created on the pdf:

Code:
Rectangle rect = new Rectangle(new Point(300,110), new Size(220,180));
page.AddFileLink(new PdfRectangle(rect), "C:\\My TEST Case.pdf");


[edit] i save the file as pdf and open it with adobe reader [/edit]

I hope somone can help...

Author:  Thomas Hoevel [ Thu Aug 25, 2011 1:09 pm ]
Post subject:  Re: FileLink does not show on PDF

To see the link, you must draw something there (maybe a rectangle to get started).
Adobe Reader only changes the mouse cursor when you're over the link area.

Author:  Speeedy [ Thu Aug 25, 2011 1:50 pm ]
Post subject:  Re: FileLink does not show on PDF

OMG, thanks for that fast reply.
I've never thought about that this is an overlay.

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/