Adding a background image to VFP report (VFP9, ReportListener) User rating: 0/10 (0 votes)
Before you begin:
Download the texture used in this code sample. Otherwise use any image file (BMP, GIF, JPEG, PNG, or TIFF) of reasonable size and quality.
See also:
Printing vertical text on VFP reports via generated images
Members area. Log in to view this example.
User rating: 0/10 (0 votes)
2213 bytes Created: 2009-12-16 16:40:20 Modified: 2009-12-17 09:46:57 Visits in 7 days: 160
Listed functions: My comment: Picking a texture that is light, unobtrusive and improves the perception of a report is not an ordinary task.
Notice that the sample code does not call GdiplusStartup and GdiplusShutdown . Obviously the instance of ReportListener takes care of those calls.
To find the left and top unprintable margins for a particular printer, call GetDeviceCaps with the nIndex parameter set to PHYSICALOFFSET (X | Y) . To obtain the size of the printable area use HORZRES and VERTRES constants.Word Index links for this example:
Translate this page:
Copyright © 2001-2013
News2News, Inc.
Before reproducing or distributing any data from this site please ask for an approval from its owner. Unless otherwise specified, this page is for your personal and non-commercial use.
The information on this page is presented AS IS, meaning that you may use it at your own risk.
Microsoft Visual FoxPro
and Windows are trade marks
of Microsoft Corp .
All other trademarks are the property of their respective owners.
Privacy policy
Credits: PHP (4.4.9), an HTML-embedded scripting language,
MySQL (5.1.55-log), the Open Source standard SQL database,
AceHTML Freeware
Version 4, freeware HTML Editor of choice. Hosted by Korax Online Inc.