Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Watermark Text on background
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Photos et traitement d'images
Divers
Thread ID:
00846436
Message ID:
00846489
Vues:
14
Ali,

The report designer does not let you do this easily. You will have to hack the .frx. Here's how.

Create a bitmap containg the text you want to appear in the watermark.

Add the bitmap to the report, aligning the top left corner with the edge of the page and the top of the header band. Don't bother adjusting the width of height. The setting will be overridden by VFP. Select the image and choose "Send to Back" option. You want the watermark image to appear behind any text on the report.

To set the width and height you need make the changes directly in the .frx.

Copy the .frx and .frt files to a backup.

Open the .frx as a table (USE xxxx.frx) and BROWSE.

Use the Find utility (Ctrl+F) to locate for the name of the bitmap file in the table. If you are on the right record, the name of the bitmap will be in the PICTURE field and the OBJTYPE field will be 17.

Now look at the VPOS, HPOS, HEIGHT and WIDTH fields. Use these to adjust the position of the bitmap so it extends the full height and width of the page. Keep in mind that the unit of measure is a mip, or 1/10,000 of an inch. To cover and entire 8/5" x 11" page with the bitmap, use the following field settings:
VPOS = 0
HPOS = 0
HEIGHT = 1100000

Regards,

WIDTH = 850000
Jim Edgar
Jurix Data Corporation
jmedgar@yahoo.com

No trees were destroyed in sending this message. However, a large number of electrons were diverted from their ordinary activities and terribly inconvenienced.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform