You might consider whether you plan on being interoperable with other
programs with similar intent. For example, if you intend on drawing
buildings, some form of CAD file format may exist that is easy to create.
If your intent is just internally for yourself, unless the user is expected
to edit the files outside your program, I would stick with serialized
objects.
"Jack Russell" <ja***@norubbish.tpg.com.auwrote in message
news:Ot**************@TK2MSFTNGP03.phx.gbl...
>I am writing a simple program to draw diagrams. I plan to store the
coordinates of each item (initially all straight lines) in a file so that I
can recreate and edit the drawing later. I assume there are already file
structures defined for such things. Can anyone point me at some please?
Thanks