Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

Scaling images in RichText

edited October 2001 in General
Is it possible to dynamically scale RichText-embedded bitmaps when printing?
One of my reports is very small (2" square) and I now scale down the fonts
but would like to do the same with the images.

I am using the RB Infopower support to print images in ppDBRichText and also
have ImageLib.

If anyone has done something similar and can provide some pointers or sample
code, I would be very appreciative.

Bill

Comments

  • edited October 2001

    Perhaps check out ppDrawRichText located in
    RBuilder\Source\ppDrwCmd.pas. RichText can be rendered to a metafile and
    scaled - RB does this for print preview.



    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
  • edited October 2001
    Thanks, Nard. I'll have a look now.

    Bill

This discussion has been closed.