Tag Archives: enhanced metafile

Enumerate metafile records in C#

This example shows how you can enumerate metafile records. You can then decide which ones to draw. (Although I’m not sure in general how you make that decision.) When the program starts, it uses the following code to load the … Continue reading

Posted in drawing, graphics | Tagged , , , , , , , , , , , , , , | Leave a comment

Read and draw a metafile in C#

This example shows how to read a metafile and draw its contents. This is really easy in C#. When the program starts, it executes the following code. private void Form1_Load(object sender, EventArgs e) { Metafile mf1 = (Metafile)Metafile.FromFile(“test.emf”); picMetafile1.Image = … Continue reading

Posted in drawing, graphics | Tagged , , , , , , , , , , , , , | 1 Comment

Make and use a metafile in C#

This example shows how to draw and use a metafile. A metafile is a drawing that doesn’t just contain the pixels in an image. Instead it contains a record of the commands used to produce a drawing so you can … Continue reading

Posted in drawing, graphics | Tagged , , , , , , , , , , , | 3 Comments