Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Write text on a JPG and save it for printing purposes
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Photos et traitement d'images
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01250668
Message ID:
01251139
Vues:
28
>Hi Cesar
>
>Thanks for your quick response.
>
>>I understand, so you could add a flag parameter that would save the image or still leave it open for further modifications.
>
>What will keep it open, loMainBmp.SAVE() is the last line in the function. Do you suggest I make loMainBmp a property of my wrapper class, thus, it won't go out of scope? I can base it on the 3rd parameter, the output file name being empty instead of a flag parameter.
>
>Please advise.

Add a new parameter to your function, eg tlSave

In your function, a simple checking:

IF tlSave = .T.
This.oBmp.Sabe(......
ENDIF
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform