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

Create document from HalloMigraDoc sample
https://forum.pdfsharp.net/viewtopic.php?f=2&t=2772
Page 1 of 1

Author:  AnotheCoder [ Wed Mar 19, 2014 4:20 pm ]
Post subject:  Create document from HalloMigraDoc sample

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

Author:  Thomas Hoevel [ Wed Mar 19, 2014 5:00 pm ]
Post subject:  Re: Create document from HalloMigraDoc sample

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).

Author:  AnotheCoder [ Thu Mar 20, 2014 6:14 am ]
Post subject:  Re: Create document from HalloMigraDoc sample

I will do that and check it out! thank you

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