PDFsharp - moved to http://forum.pdfsharp.net/ Forum Index PDFsharp - moved to http://forum.pdfsharp.net/
Please visit the new PDFsharp forum at http://forum.pdfsharp.net/
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

How to include PDF Sharp in my solution? [begginer question]

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    PDFsharp - moved to http://forum.pdfsharp.net/ Forum Index -> Support - moved to http://forum.pdfsharp.net/
View previous topic :: View next topic  
Author Message
lucafik



Joined: 05 Feb 2009
Posts: 3

PostPosted: Thu Feb 05, 2009 2:45 pm    Post subject: How to include PDF Sharp in my solution? [begginer question] Reply with quote

Hello,

i' ve tried with putting pdfsharp.csproj alongside my project in solution but it didnt work? What do I need to do so it could recognize types, such as PdfDocument, XGraphics, XString...

Thanks in advance,
Filip
Back to top
View user's profile Send private message MSN Messenger
Thomas Hoevel



Joined: 16 Oct 2006
Posts: 387
Location: Cologne, Germany

PostPosted: Thu Feb 05, 2009 4:00 pm    Post subject: Reply with quote

Did you add a reference?

After adding the reference, "PdfDocument" will still be unknown in a new source file - but then you can use "Resolve" from the context menu to add the namespace.
_________________
Regards
Thomas Hoevel
PDFsharp Team
Back to top
View user's profile Send private message Visit poster's website
Soldier-B



Joined: 14 Oct 2008
Posts: 16
Location: USA

PostPosted: Thu Feb 05, 2009 4:17 pm    Post subject: Reply with quote

In the Visual Studio IDE open the "Project" menu and click "Add Reference". The Add Reference dialog should open. Switch to the "Browse" tab, navigate to where ever you downloaded PDFsharp to and select "pdfsharp.dll". Click "Ok". This will add a reference to the pdfsharp library to your project.
Back to top
View user's profile Send private message
lucafik



Joined: 05 Feb 2009
Posts: 3

PostPosted: Thu Feb 05, 2009 5:27 pm    Post subject: Reply with quote

Thanks,

and this dll should be taken from where? Because it still doesn't recognize other types. It does recognize PdfDocument and PdfPage but wont recognize XGraphics and similar?

Filip
Back to top
View user's profile Send private message MSN Messenger
Thomas Hoevel



Joined: 16 Oct 2006
Posts: 387
Location: Cologne, Germany

PostPosted: Mon Feb 09, 2009 11:12 am    Post subject: Reply with quote

lucafik wrote:
and this dll should be taken from where? Because it still doesn't recognize other types. It does recognize PdfDocument and PdfPage but wont recognize XGraphics and similar?

Click on XGraphics and select Resolve from the context menu (same assembly, but different namespace (another using on top of the file)).
_________________
Regards
Thomas Hoevel
PDFsharp Team
Back to top
View user's profile Send private message Visit poster's website
lucafik



Joined: 05 Feb 2009
Posts: 3

PostPosted: Tue Feb 10, 2009 2:20 pm    Post subject: Reply with quote

Thanks!
Back to top
View user's profile Send private message MSN Messenger
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    PDFsharp - moved to http://forum.pdfsharp.net/ Forum Index -> Support - moved to http://forum.pdfsharp.net/ All times are GMT
Page 1 of 1

 
Jump to:  
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 vote in polls in this forum


Powered by phpBB © phpBB Group. Hosted by phpBB.BizHat.com


Start Your Own YouTube Clone

Free Web Hosting | Free Forum Hosting | FlashWebHost.com | Image Hosting | Photo Gallery | FreeMarriage.com

Powered by PhpBBweb.com, setup your forum now!
For Support, visit Forums.BizHat.com