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

New Post: Error when using image in the html

$
0
0
Hi friend
I'm in a serious issue. I tried your dll and its working for html. But when I have any image tag in it with its src as any real urls (http://media.gdgt.com/img/product/15/brs/google-chrome-os-od0-800.jpg) or even in local url I'm getting an error object reference not set to an object
So I was not able to use images in it.

My code
  Dim converter As New HtmlConverter(mainPart)
            converter.BaseImageUrl = New Uri("http://admin.myonlineassessmentlocal.com/Secure/images/logo/")
            converter.ImageProcessing = ImageProcessing.AutomaticDownload

            Dim paragraphs = converter.Parse(m)
Error throws when it reaches Parse statement. It happening only when image is using in the html.
Please reply me the earliest. Am in troubleThanks in advance

Viewing all articles
Browse latest Browse all 228

Trending Articles



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