![]() |
|
GTP.NET FAQ 10728I would like to a gantt inside an automatically generated PDF (using sharpPDF). Please note that this article
refers to the GTP.NET Jump to article- 2007-01-03 13:28:00 - Email plexityHide Question I would like to insert a gantt inside an automatically generated PDF (using sharpPDF). My current solution is to gantt.PrintPage() into a bitmap-backed System.Drawing.Graphics. Then insert this bitmap inside the PDF. It works but it's bitmap based, so it's quite ugly when zooming. Is there a way to divert the call to the Graphics object into a specially crafted "VirtualGraphics" that would act as a proxy (glue layer) to the PDF library ? Or is there an other solution that could be able to insert a vectorized version of GTP inside a PDF without any user interaction ? Answer You can do exactly as you do now, but use a MetaFile instead of a Bitmap. Metafile (saves as wmf or emf) is vector based and you can think of it as the "microsoft-postscript-implementation". Meta file sample found here
|
"This is too GREAT. I must say you have strong support and really good programmers at your place. Your entire team is good. Just Fantastic! – 100%" |
| ? 1999-2006 PlexityHide.com Grastensvagen 24, S-163 45 Spanga Sweden E-mail: support@plexityhide.com |