FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveMac / FivePhone (iPhone, iPad) Printing image with fixed width en height
Posts: 166
Joined: Wed Nov 25, 2015 07:13 PM
Printing image with fixed width en height
Posted: Sun Nov 17, 2019 04:22 PM
Hello group,

I want to print images on paper, but they must be all the same sizes without looking if its portrait or landscape. So I want to stretch them. Is this possible?
Also I noticed that some methods of the IMAGE don't work. In the source I see a AutoResize, but if I use it, this gives an error.
Code (fw): Select all Collapse
@ oPrn:RowPos(nRow), nCol + (nWidth*(nHor-1)) IMAGE oImg OF oPrn FILENAME cImage SIZE nWidth-2, nWidth-20 AutoResize 1

Above don't work?
Kind regards,



René Koot
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Printing image with fixed width en height
Posted: Mon Nov 18, 2019 12:58 PM

René,

Please try it this way:

@ 30, 285 IMAGE oImg OF oPrn SIZE 250, 250 FILENAME cFoto
oImg:SetScaling( 3 )
oImg:SetFrame()

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 166
Joined: Wed Nov 25, 2015 07:13 PM
Re: Printing image with fixed width en height
Posted: Tue Nov 19, 2019 06:58 AM

Hello Antonio,

Thank you, this does it for me

Kind regards,



René Koot

Continue the discussion