Printing image with fixed width en height

Post Reply
User avatar
plantenkennis
Posts: 151
Joined: Wed Nov 25, 2015 7:13 pm
Location: the Netherlands
Contact:

Printing image with fixed width en height

Post 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

@ 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
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: Printing image with fixed width en height

Post 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()
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
plantenkennis
Posts: 151
Joined: Wed Nov 25, 2015 7:13 pm
Location: the Netherlands
Contact:

Re: Printing image with fixed width en height

Post by plantenkennis »

Hello Antonio,

Thank you, this does it for me
Kind regards,

René Koot
Post Reply