Page 1 of 1

Printing image with fixed width en height

PostPosted: Sun Nov 17, 2019 4:22 pm
by plantenkennis
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: Select all  Expand view

@ oPrn:RowPos(nRow), nCol + (nWidth*(nHor-1)) IMAGE oImg OF oPrn FILENAME cImage SIZE nWidth-2, nWidth-20 AutoResize 1
 

Above don't work?

Re: Printing image with fixed width en height

PostPosted: Mon Nov 18, 2019 12:58 pm
by Antonio Linares
René,

Please try it this way:

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

Re: Printing image with fixed width en height

PostPosted: Tue Nov 19, 2019 6:58 am
by plantenkennis
Hello Antonio,

Thank you, this does it for me