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

Change Metafile background colour

edited October 2005 in General
I'm loading metafiles into a TppImage with a call to LoadFromFile.

I'd like to control the background and default pen colour - avoid "white
lines on black background" to save on toner when printing .

I managed to do this some time ago, but can't find the code or reference
on the newsgroup. Anyone have a link or hint for me?

TIA.

Cheers,
EdB

Comments

  • edited October 2005
    Hi Ed,

    EMF files consist of drawing commands to output an image. I assume you will
    need to use some of these commands to control the background and pen colors
    of the file. This is probably something that is accomplished using one of
    the EMR routines in the Windows API. See the Windows SDK help for
    information on these routines.

    --
    Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited October 2005
    In article <434294ad$1@dm500.>, "Nico Cizik \(Digital Metaphors\)"
  • edited October 2005
    Hi Ed,

    I was really hoping someone else would chime in on this one :). I have
    searched through out newsgroups and Google groups and am unable to find
    information on this topic. Any idea the approximate date when you saw this
    post? Are you certain this was on one of our newsgroups?

    --
    Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
This discussion has been closed.