We need to get the bitmap from GoView with half the size. The code is given below. But the bitmap is coming with poor quality. I have attached the images files saved with DocScale 1 and 0.5. One example for quality degradation is the circles in the image created with DocScale 0.5 is not symmetric
Go diagram version used is 5.0.0.3
public virtual Bitmap GetBitmap() {
this.DocScale = 0.5;
Rectangle dispRect = this.DisplayRectangle;
Bitmap buf = new Bitmap(dispRect.Width, dispRect.Height);
Graphics gbuf = Graphics.FromImage(buf);
gbuf.ScaleTransform(this.DocScale, this.DocScale);
PointF viewLoc = this.DocPosition;
gbuf.TranslateTransform(-viewLoc.X, -viewLoc.Y);
PaintView(gbuf, new RectangleF(viewLoc, ConvertViewToDoc(dispRect.Size)));
gbuf.Dispose();
return buf;
}