Hi!
I'm working with the WPF build of MigraDoc and PDFSharp 1.32. Due to the "lock files" bug I am considering moving to the GDI+ build.
But somehow when I try to include the DocumentPreview
Code:
MigraDoc.Rendering.Forms.DocumentPreview
I get nothing. I call the following in the constructor:
Code:
this.Document = new Document();
// Create the document
// [...]
string ddl = MigraDoc.DocumentObjectModel.IO.DdlWriter.WriteToString(this.Document);
this.DocumentPreview = new DocumentPreview();
this.GroupBox.Content = this.DocumentPreview;
this.DocumentPreview.Ddl = ddl;
But nothing happens, no error, no warning, no control which is shown.
So what I am looking for is either to get the DocumentPreview from GDI+ working in my WPF/XAML application or a workaround for the "lock files" bug. Any ideas?
Best regards
Yves