Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
XFRX - Saving to TIFF drops Logo
Message
De
20/03/2006 12:47:22
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Produits tierce partie
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01105389
Message ID:
01105930
Vues:
25
Hi Martin,

thanks, Eqeus also got in touch with me with the same point and said that I should change the syntax I was using to:
m.lcOutputFile = "Test.TIF"
loSession = EVALUATE("xfrx('XFRX#LISTENER')")
lnRetval = losession.SetParams(,,.T.,,,,"XFF")
If lnRetVal = 0
 REPORT FORM Test.frx OBJECT loSession
 local loXFF
 loXFF = loSession.oxfDocument
 loXFF.savePicture("Test.TIF", ;
  "tiff",1,loXFF.pagecount,24)
ENDIF
That solved the problem.

Thanks for your help.


>Hi Frank,
>
>XFRX have been problem with images sources... "graphics\ppgpl.bmp"
>Because image folder is another then report folder.
>
>MartinJ
>
>>Hi Martin,
>>
>>I've emailed you the .BMP file. Thanks for helping me out.
>>
>>
>>>Hi Frank, I test XFRX 11.2 and XFRX 11.3 without any problem. Look this package.
>>>Can you send me your picture?
>>>
>>>MartinJ
>>>
>>>>Hi Martin,
>>>>
>>>>I am using the latest version (11.3) downloaded from their web site yesterday.
>>>>
>>>>I also sent an email to their suppport yesterday, but I guess it must have been after working hours so I don't expect any response until Monday. Was hoping someone here has seen this before or can verify the problem for me.
>>>>
>>>>Thanks.
>>>>
>>>>>Hello Frank,
>>>>>
>>>>>You don't write which XFRX version you have.
>>>>>Try download demo of XFXR 11.3 and try it.
>>>>>
>>>>>MartinJ
>>>>>PS: I send notify about this problem to Martin Haluza
>>>>>
>>>>>>Hi,
>>>>>>
>>>>>>I am evaluating using XFRX for creating some TIFF images. The Report has a .BMP on it for the company logo. This works fine if creating an XLS or a PDF file.
>>>>>>
>>>>>>Has anybody come across this before and know what I should do?
>>>>>>
>>>>>>Here's my code:
>>>>>>
>>>>>>
>>>>>>loSession = EVALUATE("xfrx('XFRX#INIT')")
>>>>>>lnRetval = losession.SetParams(,,,,,,"XFF")
>>>>>>If lnRetVal = 0
>>>>>>	loSession.ProcessReport(THIS.icFRXFileName)
>>>>>>	local loXFF
>>>>>>	*
>>>>>>	* the finalize method returns a XFRX#DRAW object reference,
>>>>>>	* which will be used to save the pictures
>>>>>>	*
>>>>>>	loXFF = loSession.finalize()
>>>>>>	loXFF.savePicture(m.lcOutputFile, ;
>>>>>>		"tiff",1,loXFF.pagecount,24)
>>>>>>ENDIF
>>>>>>
>>>>>>
>>>>>>Thanks,
Frank.

Frank Cazabon
Samaan Systems Ltd.
www.samaansystems.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform