Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Quality of images created by ReportListener
Message
From
28/03/2006 18:37:54
 
 
To
27/03/2006 14:40:30
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01108093
Message ID:
01108635
Views:
21
Mark -

I am using ReportListener to convert vfp report into a image file. Is there a way to improve quality of the created image files? I can say that an image file created thru a printer driver is better. My report has barcodes that are not readable from an image file after the ReportListener, but perfectly fine via printer driver.

I'd start with this tip from the help file's topic on OutputPage() and work from there:

The ReportListener class's native ability to provide images of pages as various file types is limited to some default settings for each image type it supports. In the case of TIFFs, ReportListener provides compressed TIFFs for performance. However, you are not limited to the settings provided in the native implementation. You can give the ReportListener a GDI+ graphics handle and, in the OutputPage method, request that it render a page to this device. You can then save the result to an image file with non-default specifications. Visual FoxPro supplies a class library to help you perform this and other GDI+-related tasks. For more information, see GDI Plus API Wrapper Foundation Classes.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform