2014-03-04 101 views
0

我正在研究需要掃描圖片中幾個文本字段並使用結果的windows phone 8應用程序。我使用的是ABBYY雲OCR,我需要processFields方法(鏈接http://ocrsdk.com/documentation/apireference/processFields/?utm_source=stackoverflow.com&utm_medium=comment&utm_campaign=SMM),其參數是XML文件的路徑以及字段的協調。 是誰熟悉Windows Phone 8上的獨立存儲,並可以幫助我保存一個XML文件(或寫入它)?將XML文件保存到WP8中的獨立存儲

回答

0

可能這會幫助你。 Here is more abouthow to use isolated storage in wp8

IsolatedStorageFile fileStorage = IsolatedStorageFile.GetUserStoreForApplication(); 
StreamWriter Writer = new StreamWriter(new IsolatedStorageFileStream("TestFile.xml", FileMode.OpenOrCreate, fileStorage)); 
Writer.WriteLine(xml_string); 
Writer.Close(); 
相關問題