[Gambas-user] Fitting a preview into a fixed area

Fabien Bodard gambas.fr at ...626...
Wed Nov 4 22:38:40 CET 2015


Well what control did you use for that ?

2015-11-04 13:06 GMT+01:00 Rolf-Werner Eilert <eilert-sprachen at ...221...>:
> I am showing a pdf preview. There are landscape and portrait pdfs, and
> some are A4, some are A3...
>
> Instead of following the size, I would like to fit them into a fixed,
> square preview area, i. e. the A3 ones would have to be shown smaller,
> but the aspect ratio must be kept of course, not stretched.
>
> Is there any automatic property, or how would you make it fit?
>
> Thanks for your ideas
>
> Rolf
>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user



-- 
Fabien Bodard




More information about the User mailing list