Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Blank PDF (Read 1926 times)
choohj70
Junior Member
**
Offline


I love YaBB 1G - SP1!

Posts: 77
Joined: Sep 23rd, 2008
Blank PDF
Nov 11th, 2009 at 8:35am
Print Post  
Stoyan,

When I export a complex diagram, I am getting a blank PDF. When I drag my mouse through what seems like a blank PDF, I can see that is actually a diagram there but it has all rendered as while and therefore seems like a blank PDF.

I can even copy and paste the text so I know it's all there.

What can be forcing everything to be rendered as white?

Thank you.
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Blank PDF
Reply #1 - Nov 11th, 2009 at 9:06am
Print Post  
Could you email a sample diagram xml and the pdf created from it to support@mindfusion.eu?
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Blank PDF
Reply #2 - Nov 12th, 2009 at 12:49pm
Print Post  
The only guess we have is that Adobe Reader cannot handle that large page sizes. If you open the generated pdf with Foxit Reader, it looks ok. You might add some condition to your code to set A4 size when the diagram is very large; then Adobe Reader should work fine too. The following settings worked very well for the diagram you sent us:

pdf.PageSize = MindFusion.Pdf.PageSize.A4;
pdf.AutoScale = MindFusion.Diagramming.Export.AutoScale.FitToWidth;

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint