Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Printing a Transparent EMF

74 views
Skip to first unread message

Mike Fischer

unread,
Mar 4, 2003, 2:43:35 PM3/4/03
to
Hi,
I have an Enhanced Metafile (EMF) with some transparent
areas in it.

When I display it on screen or in printpreview using
PlayEnhMetaFile it looks fine; but when I PlayEnhMetaFile
it onto a printer DC (specifically an HP printer) the
transparent areas are NOT transparent anymore.

Any ideas on thing I might have to do to ensure the
transparency remains.

Short of BitBlt-ing of course :)

Mike

John Hornick [MS]

unread,
Mar 4, 2003, 9:32:14 PM3/4/03
to
Hi,


A metafile is a collection of drawing commands. So a transparent
area in a metafile is simply an area which has no drawing commands
which draw on that area.

What is "NOT transparent any more"? What shows up in that area?
Can you share a sample metafile which behaves this way?


Thanks,
- John
Microsoft Developer Support
This posting is provided "AS IS" with no warranties, and confers no rights.
Visit http://www.microsoft.com/security for current information on security.

Jeff Bennett

unread,
Mar 5, 2003, 9:24:08 PM3/5/03
to
Some printers do not have support for drawing transparent objects.
Not much you can do about it except offer the user an option to have
the image rendered first as a bitmap in memory and then print the
bitmap

Did you find a solution to your requirements?

Would you consider use of a Delphi compatible ActiveX component to
meet your needs?
Our MetaDraw control provides support for creating and manipulating
MetaFiles.

MetaDraw will allow you to quickly and easily find all the text
objects in an image, get the text, position, and font characteristics.
You can also modify the text, add new text, ....

MetaDraw also allows you to enable end-user manipulations - in-place
editing, move, resize, rotate, zoom, scroll, ....


Please reply -
Let me know if you receive this note,
and if you are interested in further information.


* * Please include a copy of this note with your reply

Jeff Bennett
Je...@Bennet-Tec.Com

* Bennet-Tec Information Systems, Inc
* 50 Jericho Tpk, Jericho, NY 11753
* Phone 516 997 5596, Fax - 5597
* RELIABLE Custom Controls Make You Look Sharp!
* TList/Pro * ALLText HT/Pro * MetaDraw *
* Custom Software Development Services Too.
* WWW.Bennet-Tec.Com

* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* * * * *

0 new messages