hi, everybody,<br /> i want to get the UIDRef to an image in a text frame and i used the codes below: <br /><br />UIDRef imageUIDRef = UIDRef(database, ownedList[i].fUID);;<br /> InterfacePtr<IImageDataAccess> imageAccess(imageUIDRef, IID_IIMAGEDATAACCESS);<br /><br />(ownedList[i] is the list which contains the inline boss i want to get)<br /><br />here i always get an imageAccess == nil, i think it is caused by the invalid imageUIDRef.<br /><br />can someone tell me how to resolve this??? or tell me another way to get the UIDRef to the image.<br /><br />Thanks a lot!!
↧