Save shape(polygon, ellipse) into file

karhong

Member
Joined
Jul 13, 2008
Messages
6
Programming Experience
Beginner
Hi,

I'm wondering, whether is there any other methods to save the shape into a file?
Meaning that I've already drag few shape and I wanted to save all the shapes, their position, their colour.

What I'm thinking now is, getting all the shape's coordinate, colours, size and save it into a text file.
Then when loading the file, I need to recreate all the shape based on the information of the text file.

Is there any other method in VB.Net which make my saving shape easier?? Such as save with other format, then enable me to load the file easier??

Regards,
Kar Hong
 
Yes, assuming your classes contain serializable attributes, it's very easy.

I would probably save/load them as a binary file though...

Do you really need them saved as text strings?
 
Back
Top