Better print quality for OWC chart objects

D

dustbort

My team leader insists we use his OWC-based control to generate
reports. We need to create reports that are available on the web and
can be printed. But the OWC print quality is poor for chart objects,
even when embedded in the page. Is there a straightforward way to get
high-quality printouts of charts from OWC (smooth lines like Excel)? If
not, what would be another alternative given that we are already using
this control to pull data from an Analysis Services cube and we just
need to display and print the charts?
 
A

Alvin Bruney - ASP.NET MVP

if memory serves me correctly - and sometimes it doesn't - there is a
printquality boolean flag that may be set to true to smoothe out printing.

--
Regards,
Alvin Bruney [MVP ASP.NET]

[Shameless Author plug]
The Microsoft Office Web Components Black Book with .NET
Now Available @ www.lulu.com/owc
Forth-coming VSTO.NET - Wrox/Wiley 2006
 
D

dustbort

Thank you very much. Based on your tip, I found the documentation for the
PrintQuality3D property of the ChartSpace object
http://msdn.microsoft.com/library/d.../en-us/owcvba11/html/ocwelcome_hv01136208.asp.
It is a float that represents the ratio of dpi printed to dpi capable by the
printer (The default is 0.25, so I guess that's 150 dpi on a 600 dpi
printer).

Alvin Bruney - ASP.NET MVP said:
if memory serves me correctly - and sometimes it doesn't - there is a
printquality boolean flag that may be set to true to smoothe out printing.

--
Regards,
Alvin Bruney [MVP ASP.NET]

[Shameless Author plug]
The Microsoft Office Web Components Black Book with .NET
Now Available @ www.lulu.com/owc
Forth-coming VSTO.NET - Wrox/Wiley 2006
-------------------------------------------------------



My team leader insists we use his OWC-based control to generate
reports. We need to create reports that are available on the web and
can be printed. But the OWC print quality is poor for chart objects,
even when embedded in the page. Is there a straightforward way to get
high-quality printouts of charts from OWC (smooth lines like Excel)? If
not, what would be another alternative given that we are already using
this control to pull data from an Analysis Services cube and we just
need to display and print the charts?
 
A

Alvin Bruney - ASP.NET MVP

Great. I hope it gives you what you want.

I was actually to lazy to open the black book and search for it...tehehe

--
Regards,
Alvin Bruney [MVP ASP.NET]

[Shameless Author plug]
The Microsoft Office Web Components Black Book with .NET
Now Available @ www.lulu.com/owc
Forth-coming VSTO.NET - Wrox/Wiley 2006
-------------------------------------------------------



dustbort said:
Thank you very much. Based on your tip, I found the documentation for the
PrintQuality3D property of the ChartSpace object
http://msdn.microsoft.com/library/d.../en-us/owcvba11/html/ocwelcome_hv01136208.asp.
It is a float that represents the ratio of dpi printed to dpi capable by the
printer (The default is 0.25, so I guess that's 150 dpi on a 600 dpi
printer).

Alvin Bruney - ASP.NET MVP said:
if memory serves me correctly - and sometimes it doesn't - there is a
printquality boolean flag that may be set to true to smoothe out printing.

--
Regards,
Alvin Bruney [MVP ASP.NET]

[Shameless Author plug]
The Microsoft Office Web Components Black Book with .NET
Now Available @ www.lulu.com/owc
Forth-coming VSTO.NET - Wrox/Wiley 2006
-------------------------------------------------------



My team leader insists we use his OWC-based control to generate
reports. We need to create reports that are available on the web and
can be printed. But the OWC print quality is poor for chart objects,
even when embedded in the page. Is there a straightforward way to get
high-quality printouts of charts from OWC (smooth lines like Excel)? If
not, what would be another alternative given that we are already using
this control to pull data from an Analysis Services cube and we just
need to display and print the charts?
 
D

dustbort

Actually, PrintQuality3D doesn't work when the charts are embedded in a Web
page and the printing is being done from the browser and not the chartspace
control itself. :(

So to sum it up, components don't render themselves to the printer in a Web
page and the exportpicture method doesn't allow scaling, so I can't even
export a picture like 4 times bigger than I want to get the necessary dpi
because the fonts and other objects aren't scaled. I hate OWC.

Alvin Bruney - ASP.NET MVP said:
Great. I hope it gives you what you want.

I was actually to lazy to open the black book and search for it...tehehe

--
Regards,
Alvin Bruney [MVP ASP.NET]

[Shameless Author plug]
The Microsoft Office Web Components Black Book with .NET
Now Available @ www.lulu.com/owc
Forth-coming VSTO.NET - Wrox/Wiley 2006
-------------------------------------------------------



dustbort said:
Thank you very much. Based on your tip, I found the documentation for
the
PrintQuality3D property of the ChartSpace object
http://msdn.microsoft.com/library/d.../en-us/owcvba11/html/ocwelcome_hv01136208.asp.
It is a float that represents the ratio of dpi printed to dpi capable by the
printer (The default is 0.25, so I guess that's 150 dpi on a 600 dpi
printer).

Alvin Bruney - ASP.NET MVP said:
if memory serves me correctly - and sometimes it doesn't - there is a
printquality boolean flag that may be set to true to smoothe out printing.

--
Regards,
Alvin Bruney [MVP ASP.NET]

[Shameless Author plug]
The Microsoft Office Web Components Black Book with .NET
Now Available @ www.lulu.com/owc
Forth-coming VSTO.NET - Wrox/Wiley 2006
-------------------------------------------------------



My team leader insists we use his OWC-based control to generate
reports. We need to create reports that are available on the web and
can be printed. But the OWC print quality is poor for chart objects,
even when embedded in the page. Is there a straightforward way to get
high-quality printouts of charts from OWC (smooth lines like Excel)?
If
not, what would be another alternative given that we are already using
this control to pull data from an Analysis Services cube and we just
need to display and print the charts?
 
A

Alvin Bruney - ASP.NET MVP

I hate OWC.
Consider using third party options like .NET charting or dundas charting.
You may be able to get the functionality you are after

--
Regards,
Alvin Bruney [MVP ASP.NET]

[Shameless Author plug]
The Microsoft Office Web Components Black Book with .NET
Now Available @ www.lulu.com/owc
Forth-coming VSTO.NET - Wrox/Wiley 2006
-------------------------------------------------------



dustbort said:
Actually, PrintQuality3D doesn't work when the charts are embedded in a Web
page and the printing is being done from the browser and not the chartspace
control itself. :(

So to sum it up, components don't render themselves to the printer in a Web
page and the exportpicture method doesn't allow scaling, so I can't even
export a picture like 4 times bigger than I want to get the necessary dpi
because the fonts and other objects aren't scaled. I hate OWC.

Alvin Bruney - ASP.NET MVP said:
Great. I hope it gives you what you want.

I was actually to lazy to open the black book and search for it...tehehe

--
Regards,
Alvin Bruney [MVP ASP.NET]

[Shameless Author plug]
The Microsoft Office Web Components Black Book with .NET
Now Available @ www.lulu.com/owc
Forth-coming VSTO.NET - Wrox/Wiley 2006
-------------------------------------------------------



dustbort said:
Thank you very much. Based on your tip, I found the documentation for
the
PrintQuality3D property of the ChartSpace object
http://msdn.microsoft.com/library/d.../en-us/owcvba11/html/ocwelcome_hv01136208.asp.
It is a float that represents the ratio of dpi printed to dpi capable
by
the
printer (The default is 0.25, so I guess that's 150 dpi on a 600 dpi
printer).

"Alvin Bruney - ASP.NET MVP" <www.lulu.com/owc> wrote in message
if memory serves me correctly - and sometimes it doesn't - there is a
printquality boolean flag that may be set to true to smoothe out printing.

--
Regards,
Alvin Bruney [MVP ASP.NET]

[Shameless Author plug]
The Microsoft Office Web Components Black Book with .NET
Now Available @ www.lulu.com/owc
Forth-coming VSTO.NET - Wrox/Wiley 2006
-------------------------------------------------------



My team leader insists we use his OWC-based control to generate
reports. We need to create reports that are available on the web and
can be printed. But the OWC print quality is poor for chart objects,
even when embedded in the page. Is there a straightforward way to get
high-quality printouts of charts from OWC (smooth lines like Excel)?
If
not, what would be another alternative given that we are already using
this control to pull data from an Analysis Services cube and we just
need to display and print the charts?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top