几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量

几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量 (http://www.dimcax.com/hust/index.php)
-   ObjectARX(VB.NET/C#) (http://www.dimcax.com/hust/forumdisplay.php?f=176)
-   -   调用照片使如何实现批准旋转角度比例尺等 (http://www.dimcax.com/hust/showthread.php?t=10130)

yang686526 2009-04-22 02:54 PM

调用照片使如何实现批准旋转角度比例尺等
 
调用照片使如何实现批准旋转角度比例尺等
www.dimcax.com
调用照片使如何实现批准旋转角度比例尺等
调用照片使如何实现批准旋转角度比例尺等private function attachraster() dim insertpoint(0 to 2) as double dim scalefactor as double dim rotangle as double dim imagefilename as string dim rasterobj as acadrasterimage insertpoint(0) = cdbl(txtx.text) insertpoint(1) = cdbl(txty.text) insertpoint(2) = cdbl(txtz.text) imagefilename = txtpath.text scalefactor = cdbl(txtscale.text) rotangle = cdbl(txtangle.text) on error goto errorhandle set rasterobj = thisdrawing.modelspace.addraster(imagefilename, insertpoint, scalefactor, rotangle) zoomextents exit function errorhandle: msgbox err.description end function 代码是vba中的代码我想修改成c#的方式,但是 set rasterobj = thisdrawing.modelspace.addraster(imagefilename, insertpoint, scalefactor, rotangle)对像和方法不知道在arx中怎么改.请高手帮助.


所有的时间均为北京时间。 现在的时间是 03:14 PM.