PDFsharp & MigraDoc Foundation

PDFsharp - A .NET library for processing PDF & MigraDoc Foundation - Creating documents on the fly
It is currently Sun Jul 14, 2024 11:40 pm

All times are UTC


Forum rules


Please read this before posting on this forum: Forum Rules



Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Wed Mar 19, 2014 4:20 pm 
Offline

Joined: Wed Mar 19, 2014 3:50 pm
Posts: 2
Hi there, I want apologize ahead of time if I am missing the obvious here.

I am starting to play with PDFSharp and liking it a lot and I can easily build PDFs (very cool, thank you) but I can not figure out how to create a document from a sample.

I have gone through a few samples so far and currently working through MigraDoc Sample: Mix MigraDoc and PDFsharp
http://www.pdfsharp.net/wiki/MixMigraDo ... ample.ashx

The part I am not sure of is the below sample lines...

// Create document from HalloMigraDoc sample
Document doc = HelloMigraDoc.Documents.CreateDocument();

I am getting "the name 'HelloMigraDoc' does not exist in the current context" error. I know I am missing something :? Please help

thank you


Top
 Profile  
Reply with quote  
PostPosted: Wed Mar 19, 2014 5:00 pm 
Offline
PDFsharp Guru
User avatar

Joined: Mon Oct 16, 2006 8:16 am
Posts: 3101
Location: Cologne, Germany
Hi!

Download the source package and you will find the complete sample source code (the web site contains only code snippets to explain specific features).

_________________
Regards
Thomas Hoevel
PDFsharp Team


Top
 Profile  
Reply with quote  
PostPosted: Thu Mar 20, 2014 6:14 am 
Offline

Joined: Wed Mar 19, 2014 3:50 pm
Posts: 2
I will do that and check it out! thank you


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

All times are UTC


Who is online

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