几何尺寸与公差论坛------致力于产品几何量公差标准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)
-   DirectDWG (http://www.dimcax.com/hust/forumdisplay.php?f=89)
-   -   【转帖】problem with exporting raster image to pdf (http://www.dimcax.com/hust/showthread.php?t=18119)

yang686526 2009-05-06 11:17 PM

【转帖】problem with exporting raster image to pdf
 
problem with exporting raster image to pdf
problem with exporting raster image to pdf
i have a problem exporting raster image to pdf. i used the pdf exporting code from odamfcapp example and the coding to create raster image from odwriteex. everything works fine except the image was not displayed in the exported pdf. it display only the rectangle bound of the raster image. i've try many work around, and it seem not work at all. is there any check points in must do to check if things gone wrong in any steps i used to export the raster image to pdf.
thanks in advance for helping.
hello,
example dwg file will be very helpfull.
sorry i did not explain the whole situation. i've try to exporting the same dwg file to pdf using odamfcapp example and it works well. the raster image appear as it should be. but when i using my derived code from odamfcapp (exporting pdf) and odwriteex (create and save raster image to dwg), it did not work. only the rectangle bound of the raster image appear in the pdf. i doubt if i miss some initialization detail which inhibit my app from exporting raster image correctly. any suggestion will be very appreciated. thank you.
(ps. the jpg path was c:\)
attached images (27.9 kb, 5 views)
attached files (2.4 kb, 7 views)
(8.3 kb, 3 views)

last edited by parinya; 10th december 2007 at 07:05 pmfff">.
and... about the version, i'm using dwgdirect version 1.1.4 in my app. and one more question, how can i disable the display of bounding rectangle of raster image in exported pdf file?
last edited by parinya; 10th december 2007 at 07:07 pmfff">.
dwg to raster image
hello parinya (sorry i did not know your name)
would you please give the sample code to convert from dwg to raster images.
thanks billion for this help.


所有的时间均为北京时间。 现在的时间是 04:40 AM.