PDFsharp & MigraDoc Foundation

PDFsharp - A .NET library for processing PDF & MigraDoc Foundation - Creating documents on the fly
It is currently Sun Apr 28, 2024 5:13 am

All times are UTC


Forum rules


Please read this before posting on this forum: Forum Rules



Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Viewing Pdf
PostPosted: Sun May 10, 2009 11:31 pm 
Offline

Joined: Fri May 08, 2009 10:03 am
Posts: 3
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


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Mon May 11, 2009 8:36 am 
Offline
PDFsharp Guru
User avatar

Joined: Mon Oct 16, 2006 8:16 am
Posts: 3096
Location: Cologne, Germany
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.

_________________
Regards
Thomas Hoevel
PDFsharp Team


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Thu May 14, 2009 10:24 pm 
Offline

Joined: Thu May 14, 2009 10:13 pm
Posts: 2
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


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Mon May 18, 2009 8:14 am 
Offline
PDFsharp Guru
User avatar

Joined: Mon Oct 16, 2006 8:16 am
Posts: 3096
Location: Cologne, Germany
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


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

All times are UTC


Who is online

Users browsing this forum: No registered users and 346 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