Hi All,
While reading high definition image from word file images are getting distorted. This eventually creates problem while exporting same file back.
Please help me to resolve this issue.
Have a look on below code that i have written,
using (MemoryStream MemoryStream = new MemoryStream())
{
AW.Saving.HtmlSaveOptions HtmlSaveOptions = new AW.Saving.HtmlSaveOptions(AW.SaveFormat.Html);
HtmlSaveOptions.ExportImagesAsBase64 = true;
Document.Save(MemoryStream, HtmlSaveOptions);
Document.AcceptAllRevisions();
MemoryStream.Position = 0;
using (var StreamReader = new StreamReader(MemoryStream))
{
strValue = StreamReader.ReadToEnd();
}
}