how to save all my application's work.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • maifs
    New Member
    • Sep 2008
    • 7

    how to save all my application's work.

    hi.....

    can anybody tell me that how can i save my all application's work. mean that how can i save the images,circles, rectangle,lines or etl together..

    if somebody knows it then plz explain me with some code...

    i konw that image can be save via one of the Bitmap's method
    i.e:
    imageObj.Save(f ileName);

    but i want to save not only images , whole it(e.g: circles,rectang les,lines which a user is drawn on it) not a just an image.



    plz dont send the source of anyother site because i m new commer .

    if some body can explain this then do in it plz.

    thx.........

    --------------------------------------------------------------------------------
    maifs
  • maifs
    New Member
    • Sep 2008
    • 7

    #2
    can anybody tell me that how can i save my all application's work. mean that how can

    hi.....

    can anybody tell me that how can i save my all application's work. mean that how can i save the images,circles, rectangle,lines or etl together..

    if somebody knows it then plz explain me with some code...

    i konw that image can be save via one of the Bitmap's method
    i.e:
    imageObj.Save(f ileName);

    but i want to save not only images , whole it(e.g: circles,rectang les,lines which a user is drawn on it) not a just an image.



    plz dont send the source of anyother site because i m new commer .

    if some body can explain this then do in it plz.

    thx.........

    --------------------------------------------------------------------------------
    maifs

    Comment

    • cloud255
      Recognized Expert Contributor
      • Jun 2008
      • 427

      #3
      I take it you are looking for something which will store all the vectors independantly and allow you to edit the image at a later time?

      I suggest that you create yourself a filetype, any extension which is not in use. You can then associate this file type with your application. You could simply dump a whole bunch of text data in the files e.g.

      [square] NameOfInstance
      [location] x,y co-ordiantes from which to start drawing
      [length] length in pixels of the lines

      Try something along those lines, your application can then read and re-draw the images by instantiating objects and assigning those values to the objects.

      For more protection, you can encrypt the file before saving it to the local storage media.

      Comment

      Working...