To export the active page of a drawing to a bitmap (BMP) file, you can use the following code:
NDrawingRasterImageExporter imageExporter = new NDrawingRasterImageExporter(drawingView.Content);
using (Stream stream = File.Create(@"C:\ExportedImage.bmp"))
{
imageExporter.SaveToStream(stream, NImageFormat.Bmp);
}
For more information on raster image exports of NOV Diagram, please take a look at the following documentation topic:
Drawing Raster Image Export