Note: You must be registered in order to post a reply. To register, click here. Registration is FREE!
T O P I C R E V I E W
rswyman@docuxplorer.com
Posted - Feb 13 2017 : 08:38:01 Hi All,
After adding new annotations to an image I would like to navigate through the selected object list and acquire the objects ID. Some objects return a -1 GetObjFromIndex. Can someone explain why?
for i := 0 to ImageEnVect.SelObjectsCount -1 do
hObj := ImageEnVect.GetObjFromIndex(ImageEnVect.SelObjects[i]);
1 L A T E S T R E P L I E S (Newest First)
xequte
Posted - Feb 13 2017 : 15:47:12 Hi
Sorry, this is non-obvious, but SelObjects returns an hobj, so you should call as follows:
for i := 0 to ImageEnVect.SelObjectsCount -1 do
hObj := ImageEnVect.SelObjects[i];