CADImage zoom to box in CAD Coordinates
Posted: 12 Aug 2008, 18:25
Hi,
I am using the trial version of CadImport .NET to determine if it can do what I need. I need to be able to render bitmaps of .DWG drawings on an ASP server, in order that they can be composited with another bitmap and sent to clients as jpgs.
I am using a CADImport.DWG.DWGImage object, opening a .dwg from disk zoomed to extents, and saving out as a .bmp. I can also translate between client (pixel) coordinates and CAD coordinates.
MY PROBLEM!! I cannot seem to specify which area of the CAD drawing to render out. Ideally I would like to be able to specify 4 points in CAD space (top,left,bottom,right) to define a box, and output a bitmap zoomed to these coordinates.
I am not using any form controls, since this needs to run on a web server.
I need to get this up and running ASAP in order to determine if CADImport meets our needs, or if we need to look elsewhere. Can anyone help??? Thanks.
Regards,
Nick
I am using the trial version of CadImport .NET to determine if it can do what I need. I need to be able to render bitmaps of .DWG drawings on an ASP server, in order that they can be composited with another bitmap and sent to clients as jpgs.
I am using a CADImport.DWG.DWGImage object, opening a .dwg from disk zoomed to extents, and saving out as a .bmp. I can also translate between client (pixel) coordinates and CAD coordinates.
MY PROBLEM!! I cannot seem to specify which area of the CAD drawing to render out. Ideally I would like to be able to specify 4 points in CAD space (top,left,bottom,right) to define a box, and output a bitmap zoomed to these coordinates.
I am not using any form controls, since this needs to run on a web server.
I need to get this up and running ASAP in order to determine if CADImport meets our needs, or if we need to look elsewhere. Can anyone help??? Thanks.
Regards,
Nick