View previous topic :: View next topic |
Author |
Message |
TeCNoYoTTa
Joined: 08 May 2009 Posts: 3
|
Posted: 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 can you tell me how to use C libraries like Mupdf in C# application
Thanks in Advance |
|
Back to top |
|
 |
Thomas Hoevel

Joined: 16 Oct 2006 Posts: 387 Location: Cologne, Germany
|
Posted: Mon May 11, 2009 8:36 am Post subject: |
|
|
Hi!
See also here:
http://pdfsharp.s3.bizhat.com/viewtopic.php?p=1741#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. _________________ Regards
Thomas Hoevel
PDFsharp Team |
|
Back to top |
|
 |
ciberbob1987
Joined: 14 May 2009 Posts: 2
|
Posted: 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 |
|
Back to top |
|
 |
Thomas Hoevel

Joined: 16 Oct 2006 Posts: 387 Location: Cologne, Germany
|
Posted: 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)). _________________ Regards
Thomas Hoevel
PDFsharp Team |
|
Back to top |
|
 |
|