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 3:43AM
    Use TfrxPreview.Zoom
  • edited 3:43AM
    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 3:43AM
    Found it finally. "zmWholePage" fixed my issue.

    Please update your docs.
  • edited 3:43AM
    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.