Simple, use the AcGsVew classes as I mentioned earlier
here is a snippit of a form, just use your block or any other entity
namespace ExecMethod
{
public partial class ViewFrm : Form
{
AcGs.Manager manager = null;
AcGs.Device device = null;
AcGs.Model model = null;
AcGs.View view = null;
public ViewFrm()
{
InitializeComponent();
manager = AcAp.Application.DocumentManager.MdiActiveDocument.GraphicsManager;
device = manager.CreateAutoCADDevice(this.Handle);
device.OnSize(new System.Drawing.Size(300, 300));
model = manager.CreateAutoCADModel();
// you can use your block ref for this
view = manager.CreateAutoCADView(new Line(new Point3d(0, 0, 0), new Point3d(300, 300, 0)));
device.Add(view);
view.ZoomExtents(new Point3d(0, 0, 0), new Point3d(300, 300, 0));
//Bitmap bmp = view.GetSnapshot(new System.Drawing.Size(300, 300)) <<<<<------------------------
}
private void ViewFrm_Paint(object sender, PaintEventArgs e)
{
view.Invalidate();
view.Update();
}
}
}