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 5:50PM
    Use TfrxPreview.Zoom
  • edited 5:50PM
    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 5:50PM
    Found it finally. "zmWholePage" fixed my issue.

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

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

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.