frxPreview: How to scale preview to small window

Hello,

My preview item has the size of 300 x 200px.
The preview itself is way to big and there are ugly scrollbars.
We want to use the preview as thumbnail.

How to fit it to preview item?

I looked for something like scale or stretch but found nothing.

Your help is appreciated.

Best regards

Comments

  • gpigpi
    edited 10:28PM
    Use TfrxPreview.Zoom
  • edited 10:28PM
    datatype of Zoom property is extended.

    Which values are valid?
    I have trial version (without source code) so no frxClass.pas

    Is there one like "zmFitToWindow"?
  • edited 10:28PM
    Found it finally. "zmWholePage" fixed my issue.

    Please update your docs.
  • edited 10:28PM
    rakekniven wrote: »
    Found it finally. "zmWholePage" fixed my issue.

    Please update your docs.
    may you explain more what you did?
    thanks

Leave a Comment