Budi Irawan wrote: > > For example: I have a a2dImage that have custom identity (int) in my > canvas, then I save document and if I open it again, I can retrieve > that identity value again. I think you want properties on canvas objects. See canobj.h/cpp it is used a lot. Study a2dPropertyId and a2dNamedProperty. in id.h and gen.h.
I assume you have generated the doxygen documentation. But you can aslo derive from a2dImage and add your custom id, DoSave and DoLoad of that object will do the rest. > > is it possible? > Yes. Regards, Klaas ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Wxart2d-users_dev mailing list Wxart2d-users_dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wxart2d-users_dev