User (Legacy) Posted November 2, 2004 Report Posted November 2, 2004 I have noticed that when printing through IE the quality of the text is very low. The only way I can get a good quality print is to export using the Chart.Export function to export to a WMF file. My reports usually include multiple charts, so I am trying to export my report to MS Word so that users can download that file and print the entire report or copy WMF files into Power Point to make a presentation. The function that I am using (wordDoc.InlineShapes.AddPicture(sImageFile)) will not work with metafiles on a web form. Can you recommend another way to accomplish my objective?
Software FX Posted November 3, 2004 Report Posted November 3, 2004 Is this "report" is a Word Document ? Word DOES support metafiles. I'm no expert on MS Office Controls so I don't know why that call fails. When you say "printing through IE the quality of the text is very low.", what is the chart represented as in IE ? an image (PNG,JPEG) ? You can use SVG to render the chart as a Vector image inside the browser. -- FP Software FX
User (Legacy) Posted November 3, 2004 Author Report Posted November 3, 2004 Yes, I am referring to a Word document and I know that Word supports metafiles. The call that I was referring to runs with no problem if I use a .NET Windows form, but fails using the exact same method in a .NET web form. I have attached samples to illustrate my point of print quality. In the adobe file "Chart Format.pdf" you will see that the SVG file does print better than the "Image" format, but the quality is not that of a true vector graphic. In the adobe file "Word Document WMF.pdf" you will see that the quality is much better than either format printed through Internet Explorer. This quality difference in the text shows on paper as it does in PDF and is not acceptable for my needs, especially with larger charts. I also would like users to be able to work with these metafiles in other documents by copying them directly out of a document rather than exporting individual image files from the website for them to work with. Can you help me accomplish this? "SoftwareFX Support" <noreply@softwarefx.com> wrote in message news:koSWeWbwEHA.1120@webserver3.softwarefx.com... > Is this "report" is a Word Document ? > > Word DOES support metafiles. I'm no expert on MS Office Controls so I > don't > know why that call fails. > > When you say "printing through IE the quality of the text is very low.", > what is the chart represented as in IE ? an image (PNG,JPEG) ? You can use > SVG to render the chart as a Vector image inside the browser. > > -- > FP > Software FX > >
Software FX Posted November 3, 2004 Report Posted November 3, 2004 Unfortunately your problem seem to be related to the office control and not to Chart FX. Why does AddPicture fails when called from a WebForms is something I don't know as that control does not belong to us. My guess will be that it requires certain permissions. Also, I might be misunderstanding something. To me the SVG in and "Chart Format.pdf" looks the same as the WMF in "Word Document WMF.pdf" except for the anti-alias effect. Both are vector-based, this is becomes obvious when you zoom-in. Can you shed any light on this ? -- FP Software FX Attachments.zip Attachments.zip
User (Legacy) Posted November 12, 2004 Author Report Posted November 12, 2004 I know that the AddPicture issue is a problem with the Office control, but I thought that you may be able to help me find a solution for the overall issue. Yes, at quick glance the SVG and WMF look similar, but they are not both vector based. The SVG, once printed through IE, is no longer vector based. As you zoom in, you will notice that the quality is no longer all that close to that of the WMF file. This is especially noticeable when using a projector to project to a large screen for presentations. The problem that I am presented with is that I usually have reports with multiple charts and other supporting images, text, etc. I would like my users to be able to export my reports and change the arrangement/sizing of each chart as needed. I am trying to accomplish this without forcing my users to download WMF files and add them to their own documents and trying to mimic my layout. A Word or PowerPoint document seems perfect for this. I understand that you have no control over MS Office controls, but I can't imagine that I am the only one of your customers that would want to do something like this. I was hoping that you perhaps have come across this issue before and have some type of solution. Thanks. -Dan "SoftwareFX Support" <noreply@softwarefx.com> wrote in message news:G6gDekcwEHA.1120@webserver3.softwarefx.com... > Unfortunately your problem seem to be related to the office control and > not to Chart FX. > > Why does AddPicture fails when called from a WebForms is something I don't > know as that control does not belong to us. My guess will be that it > requires certain permissions. > > Also, I might be misunderstanding something. To me the SVG in and "Chart > Format.pdf" looks the same as the WMF in "Word Document WMF.pdf" except > for the anti-alias effect. Both are vector-based, this is becomes obvious > when you zoom-in. Can you shed any light on this ? > > -- > FP > Software FX >
Recommended Posts
Archived
This topic is now archived and is closed to further replies.