PDFsharp & MigraDoc Foundation
http://forum.pdfsharp.de/

Clear documentPreview content
http://forum.pdfsharp.de/viewtopic.php?f=2&t=2992
Page 1 of 1

Author:  nipol [ Tue Nov 25, 2014 2:03 pm ]
Post subject:  Clear documentPreview content

Hi, i'm starting using migradoc for show and rendering some pdfs, I think is easy to use it. But I have a problem and two question:

1. I show and render a lot of pdfs in documentViewer, but the problem is when I create a landscape document, show it in documentViewer, after that, I want to show another portraint document (or inverce way), the documentPreview show with the page orientation of the first document. ¿How can I solve this?. the code is this:

DocumentPreview ViewerPDF = new DocumentPreview();
string ddl = DdlWriter.WriteToString(document);
ViewerPDF = documentPreview1;
ViewerPDF.Ddl = ddl;

2. ¿How can I clear the documentPreview content?
3. ¿Can migradox render to excel file?

Thaks for your time and answers.

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