ABCpdf7 Not Rendering Images using AddImageUrl

Posted by ddango on Stack Overflow See other posts from Stack Overflow or by ddango
Published on 2010-03-19T02:02:36Z Indexed on 2010/03/19 2:11 UTC
Read the original article Hit count: 2462

Fairly exotic it seems to me. We recently upgraded/migrated from Windows Server 2003 to 2008, and now it seems that images cannot be rendered when using Doc.AddImageUrl(). (when the pdf is saved, the images appear at the correct dimensions, but the IE8 missing image x shows up).

If I understand correctly, ABCpdf uses IE rendering internally for this sort of thing.

We thought it might be a permission issue, but we've check IE ESC and that seems to be configured as they suggest. Has anyone else run into a similar problem? Perhaps a code configuration is needed?

Not the entire snippet, but the ABCpdf7 stuff:

using (Doc doc = new Doc())
        {
            doc.HtmlOptions.PageCacheEnabled = false;
            doc.HtmlOptions.UseNoCache = true;
            doc.HtmlOptions.PageCacheClear();
            doc.HtmlOptions.PageCachePurge();
            doc.HtmlOptions.UseResync = true;
            doc.HtmlOptions.ImageQuality = 25;

            int pageID = doc.AddImageUrl(url + "&guid=" + url.GetHashCode());

            while (true)
            {
                if (!doc.Chainable(pageID))
                    break;
                doc.Page = doc.AddPage();
                pageID = doc.AddImageToChain(pageID);
            }

  // file saving etc.
    }

© Stack Overflow or respective owner

Related posts about abcpdf

Related posts about pdf