查看单个帖子
旧 2009-05-07, 12:22 PM   #1
yang686526
高级会员
 
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
yang686526 向着好的方向发展
默认 【转帖】raster image status

raster image status
raster image status
hi,
i have a case that the raster image got deleted from file (not detached). so there is an unreferenced image left in the image dictionary. i am looking for a method to get the status of the raster image, which is unreferenced in this case. i thought it would be in imagedef object. however i couldn't find it. i only found isloaded() method. i can't use it because it could be 'not found' or 'unreferenced' in the case of isloaded() returning false.
is there a way to find the status in this case?
thanks,
al
i figured it out.
i identify the unreferenced status by looking through the rasterimage entities. if there is an image header but no image entity. that means the header is unreferenced.
al
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)