Is there a way to memorize the location of ellipses? I need to create registration marks on images I print. When i drop 4 circle on an image (At the corner), i would like to memorize their location. Like that next time I print another image, I can recall the location of the 4 ellipses.
Can it be done?
I was thinking about saving a layer with only the objects inside it and then recall them. The location can be saved in memory. When the program closes, it is ok to be lost. Thanks. P
You could save the object positions (Left and Top) to an ini file then reload them biased on the Left and Top values in the ini file.
iterate through the objects to save the object positions: ImageEnVect1.ObjLeft[hObj]; ImageEnVect1.ObjTop [hObj]; then restore the object positions by reading ImageEnVect1.ObjLeft[hObj]; ImageEnVect1.ObjTop [hObj];
You could also save the objects and there positions with SaveToFileIEV, then restore them with LoadFromFileIEV.
You could also save the objects and positions to a memory stream with SaveToStreamIEV and then reload the objects with LoadFromStreamIEV.