I don't find examples about creating a EMF+ metafile in on-
line help of VB.NET.
I want to draw an ellipse and draw a string inside it.
Then record these instructions to a metafile. How i can do
it? The on-line help is not clear on this topic.
Can you send me an example? Or, where i can find examples
about this?
Thank you,
ChristosX
John Hornick [MSFT] - 28 Sep 2003 03:19 GMT
Hi,
> I don't find examples about creating a EMF+ metafile in on-
> line help of VB.NET.
[quoted text clipped - 5 lines]
> Can you send me an example? Or, where i can find examples
> about this?
Create a Metafile using one of the constructors which accepts an
HDC as a parameter (IntPtr). Then use Graphics.FromImage() to get
a Graphics on which to draw. Dispose() the Graphics after you're
done drawing.
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.
ChristosX - 28 Sep 2003 22:28 GMT