RE: Can't save meta file
From: McLeod (McLeod_at_discussions.microsoft.com)
Date: 11/10/04
- Next message: Frank Hileman: "Re: GDI+, GDI, DirectDraw or DirectX?"
- Previous message: Peder Y: "Re: GDI+, GDI, DirectDraw or DirectX?"
- In reply to: Amendra TheUltimate via .NET 247: "Can't save meta file"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 10 Nov 2004 01:53:04 -0800
Hi,
You can't save out a metafile by design. You'r simply not ment to do so.
You can copy it to the clipboard using a metafile helper class and then
paste into excel, word or Corel Draw. From Corel Draw you can save it as a
metafile. However, I don't think that manually saving it out is what you are
looking for.
"Amendra TheUltimate via .NET 247" wrote:
> Hi,
>
> I have tried saving a metafile, using a memory stream.
>
> somemetafile.Save(m, ImageFormat.Emf);
>
> But when you specify the image format as Emf I get a GDI exception saying an internal error occured. Other types are allowed other than wmf as well.
>
> Only wmf and emf saving throws the exception.
> Any hope.
>
> --------------------------------
> From: Amendra TheUltimate
>
> -----------------------
> Posted by a user from .NET 247 (http://www.dotnet247.com/)
>
> <Id>s/M3MCRlKUGpyHPfRO9tqQ==</Id>
>
- Next message: Frank Hileman: "Re: GDI+, GDI, DirectDraw or DirectX?"
- Previous message: Peder Y: "Re: GDI+, GDI, DirectDraw or DirectX?"
- In reply to: Amendra TheUltimate via .NET 247: "Can't save meta file"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|