Re: Metafiles
- From: "Mike D Sutton" <EDais@xxxxxxxx>
- Date: Fri, 12 May 2006 17:46:33 +0100
Hi - I have been studying the exportation of .emf files from my vb app for
use with Adobe Illustrator and or Coreldraw and have couple of questions.
Firstly, if I create say, two polygons and manage to save them to an .emf ,
would the receiving application be able to differentiate between the
polygons (as individual entities, i.e. to place each polygon on a separate
layer in AI or Corel) or would the objects be combined into a single entity?
That's really down to the EMF import module in those applications, however the EMF contains two separate rectangle
records so the potential to distribute them out onto individual layers is certainly there.
My second question is regarding output devices. My app presently gets the
devicecaps from a standard lettersize printer and produces a scale drawing
on paper. The new function I want to add with the .emf file would output
full size approx 6 feet by 4 feet. Is it possible to create the drawing in
the .emf this size without obtaining any device caps from the (unknown)
output device?
Use the SetMapMode() API call to define the mapping mode of the MetaDC you're drawing to, and the playback engine will
be able to convert this scale into device space coordinates on whatever hardware it's rendered to.
Hope this helps,
Mike
- Microsoft Visual Basic MVP -
E-Mail: EDais@xxxxxxxx
WWW: Http://EDais.mvps.org/
.
- Follow-Ups:
- Re: Metafiles
- From: Larry L
- Re: Metafiles
- References:
- Metafiles
- From: Larry L
- Metafiles
- Prev by Date: Metafiles
- Next by Date: Re: Metafiles
- Previous by thread: Metafiles
- Next by thread: Re: Metafiles
- Index(es):
Relevant Pages
|
Loading