Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Write text on a JPG and save it for printing purposes
Message
General information
Forum:
Visual FoxPro
Category:
Pictures and Image processing
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01250668
Message ID:
01251139
Views:
25
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform