Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Report to Tiff - wrong format
Message
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
01128295
Message ID:
01128410
Views:
17
Thanks but there has to be a better way...

From the VFP Help on ReportListener, OutputPage:


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.


Is there any example on using GDI+ to render a page in a compatible format for faxing ?


>There was a similar question on UT some time ago. LoadImage API and several GDI+ API calls can be used to convert ReportListener output to monochrome files.
>
>How to convert a bitmap file to monochrome format
>http://www.news2news.com/vfp/?example=493
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform