Results 1 to 2 of 2

Thread: *Solved* Metafile()

Threaded View

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Mar 2003
    Location
    Sweden
    Posts
    22

    *Solved* Metafile()

    Hi.

    Does anyone know how to draw vector-graphics in VB.net?

    Right now i use
    Code:
            Dim pic As New System.Drawing.Bitmap(500, 500, System.Drawing.Imaging.PixelFormat.Format32bppArgb)
            Dim gr As System.Drawing.Graphics = System.Drawing.Graphics.FromImage(pic)
    but instead of pic beeing a bitmap I need it to be some kind of vector format...
    I think the Metafile() is what I should use, but how do I create/use it?

    Can I still have the same drawing-functions? (gr.FillRectangle(...) etc.)
    Last edited by Zcumbag; Apr 15th, 2003 at 08:53 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width