windows phone 8 - Text and Image edit on Canvas with save as file -


i working on application, in there requirement 1 page user can add/edit text on canvas , save file print/edit again.

for example:

add text canvas, change fonts, color, size, etc. later want add option inserting image on canvas.

it ms paint quite big software,here need simple canvas, under stack panel want add options edit text (color palette, size, & font).

please me out suggestions & examples. not mandatory use canvas. objective text/image edit page, save file, , editable again.

thank in advance.

to save text file later use, use textbox , isolated storage. canvas work shapes, images, , other graphics controls. have textbox named box in xaml.

xaml

<textbox x:name="box" /> 

this code below in kind of save click method when button clicked.

c#

using (isolatedstoragefile isofile = isolatedstoragefile.getuserstoreforapplication()) {  using (isolatedstoragefilestream isostream =  new isolatedstoragefilestream("box.txt", filemode.create, isofile))  {    using (streamwriter sw = new streamwriter(isostream))    {      sw.write(box.text);    }   }  } 

Comments

Popular posts from this blog

Unable to remove the www from url on https using .htaccess -