Convert DWG to images

1
softzion
5/7/2019 4:54 AM

Hi.

Is it possible to convert DWG file to image file with Standard version?

Is it possible to apply the source below?

var model = CadReader.Read(filePath);
var bitmap = ImageExporter.CreateAutoSizedBitmap(model, Matrix4D.Identity, GraphicsConfig.AcadLikeWithWhiteBackground, new Size(3000, 3000));
using (Stream stream = File.Create(createPath + ".png"))
{
bitmap.Save(stream, System.Drawing.Imaging.ImageFormat.Png);
}

Thanks!

Wout
5/7/2019 4:46 PM

For DWG reading/writing you need the professional version.

- Wout

1