Getting started with MigraDoc
Version 6.1.0
In this section
Learning the programming model
With MigraDoc you can create complex documents just like you do it with Microsoft Word or other word processors - but automatically in your application. Use MigraDoc’s document object model to assemble your document by code.
Check Document object model for a reference of the MigraDoc document object model to create and format documents.
The MigraDoc source code has XML documentation for all public classes and methods and the IntelliSense of Visual Studio will show you the available methods with their documentation.
Sample source code
Sample code can be found on GitHub.
For samples that are included with MigraDoc 6.x, see here:
https://github.com/empira/PDFsharp.Samples/tree/master/src/samples/src/MigraDoc/src
Two of these samples are explained in Topics / Start.
More samples
The PDFsharp forum has a board with sample code from members:
https://forum.pdfsharp.net/viewforum.php?f=8
These samples cover various topics and might help you solve your tasks.
Getting support
If you have specific questions, feel free to ask them at our peer support forum:
https://forum.pdfsharp.net/
Reporting bugs
When reporting bugs, it is important for us to be able to replicate the issue.
We created a sample project that uses the NuGet packages to help you create a minimal code sample that replicates the issue.