Printing image with fixed width en height

Printing image with fixed width en height

Postby plantenkennis » Sun Nov 17, 2019 4: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: 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?
Kind regards,

René Koot
User avatar
plantenkennis
 
Posts: 166
Joined: Wed Nov 25, 2015 7:13 pm
Location: the Netherlands

Re: Printing image with fixed width en height

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

Re: Printing image with fixed width en height

Postby plantenkennis » Tue Nov 19, 2019 6:58 am

Hello Antonio,

Thank you, this does it for me
Kind regards,

René Koot
User avatar
plantenkennis
 
Posts: 166
Joined: Wed Nov 25, 2015 7:13 pm
Location: the Netherlands


Return to FiveMac / FivePhone (iPhone, iPad)

Who is online

Users browsing this forum: No registered users and 8 guests