Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 77050

Read the word.docx file in xamarin form or write the signature into read file

$
0
0

var assembly = typeof(Page1).GetTypeInfo().Assembly;

foreach (var res in assembly.GetManifestResourceNames())
{
var data = res;
}

Stream stream = assembly.GetManifestResourceStream("App2.TextFile1.docx");
string text = "";

using (var reader = new System.IO.StreamReader(stream))
{
text = reader.ReadToEnd();
}

this will give me a resource of file and change the MS-word file into text file so how we can read the Word file in xamarin form or how we can write the image in MS-word file

I will convert the image into Bitmap becouse the xamarin mobile can only read the image into Bitmap form

Kindly give the solution of my problem i will waiting for your answer


Viewing all articles
Browse latest Browse all 77050

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>