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

Viewing Pdf
https://forum.pdfsharp.net/viewtopic.php?f=2&t=728
Page 1 of 1

Author:  TeCNoYoTTa [ Sun May 10, 2009 11:31 pm ]
Post subject:  Viewing Pdf

Hello All

is there is a way to use PDFsharp or migradoc to render PDF files and view them

and if this cant be done .....can you tell me about any free library that can do that

and if there is no such library :D can you tell me how to use C libraries like Mupdf in C# application


Thanks in Advance

Author:  Thomas Hoevel [ Mon May 11, 2009 8:36 am ]
Post subject: 

Hi!

See also here:
viewtopic.php?p=1741&mforum=pdfsharp#1741

You can call any DLL using P/Invoke (check the "DllImport" attribute for further information).

Code:
[DllImport("Kernel32.dll")]
public static extern IntPtr LoadLibrary(string fileName);


If your library is a LIB file, create a DLL from it.

Author:  ciberbob1987 [ Thu May 14, 2009 10:24 pm ]
Post subject: 

Hi,
I haven't understood if is possible to open and view a pdf with PDFsharp, and if is possible, what type of form control I need to do it?
Thancks. Marco

Author:  Thomas Hoevel [ Mon May 18, 2009 8:14 am ]
Post subject: 

Hello!
ciberbob1987 wrote:
I haven't understood if is possible to open and view a pdf with PDFsharp

Viewing MigraDoc documents: yes.
Viewing PDF documents: not with PDFsharp (use e. g. Adobe Reader or Ghostscript)).

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