Render VML for bitmap in C #

Is there a way in C # /. NET to render VML into a bitmap?

I think this should be very simple, but I cannot find anything like this in .NET docs.

+4
source share
2 answers

In search of a similar solution, I came across a two-step process.

  • convert VML to SVG.
  • displays SVG as an image.

SourceForge has an XSL-based project for converting VML to SVG.

(sourceforge.net/projects/vectorconverter/)

I tested it, and in some cases it works fine.

Next, SVG for the PNG handler on CodePlex . After registering to process * .svg files, the handler will read the file and send the image back to the browser in .png format. You can download the source code and see how it is done.

You can combine the two steps together to get a bitmap from vml.

+2
source

Any specific reason why you are not using SVG? You will have more luck finding libraries. I believe SVG is the successor to VML.

0
source

All Articles