Quantcast
Channel: html2openxml Discussions Rss Feed
Viewing all articles
Browse latest Browse all 228

New Post: converter parse img returns nothing

$
0
0
Ok tried a different solution, becouse it turns out when i use a external web url it works fine. I decided to try with this solution:
private void converter_ProvisionImage(object sender, ProvisionImageEventArgs e)
{
   // Read the image from the file system:
    e.Data = File.ReadAllBytes(@"c:\inetpub\wwwroot\mysite\images\" + e.ImageUrl);
}
but even thoudh the e.Data fills with correct byte array the converter does not generate nothing.

Viewing all articles
Browse latest Browse all 228

Trending Articles



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