Hi Support,
I'm converting HTML to PDF and all ok so far ...
I've noticed non-expected differences when HtmlInput is html string vs html file.
In case of HtmlInput = false, and Input (array) has a string pointing to a file on file system ... all ok.
But, in case of HtmlInput = true, and Input has a string containing the html ... rendering looks slightly different (css embedded in html), but more importantly "<a href..>'s are NOT converted to URI links.
I guess the reason is related to how you create URI value and when HtmlInput= true, the path cannot be determined: viewtopic.php?t=46577
-žarko
op.htmlToDoc.HtmlInput = true vs op.htmlToDoc.HtmlInput = false
Moderators: PDF-XChange Support, Daniel - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Paul - PDF-XChange, Vasyl - PDF-XChange, Ivan - Tracker Software, Stefan - PDF-XChange
Forum rules
DO NOT post your license/serial key, or your activation code - these forums, and all posts within, are public and we will be forced to immediately deactivate your license.
When experiencing some errors, use the IAUX_Inst::FormatHRESULT method to see their description and include it in your post along with the error code.
DO NOT post your license/serial key, or your activation code - these forums, and all posts within, are public and we will be forced to immediately deactivate your license.
When experiencing some errors, use the IAUX_Inst::FormatHRESULT method to see their description and include it in your post along with the error code.
-
- User
- Posts: 1483
- Joined: Thu Sep 05, 2019 12:35 pm
- Stefan - PDF-XChange
- Site Admin
- Posts: 19885
- Joined: Mon Jan 12, 2009 8:07 am
- Contact:
Re: op.htmlToDoc.HtmlInput = true vs op.htmlToDoc.HtmlInput = false
Hello zarkogajic,
I've asked our devs to take a look here and assist! We will post further in this topic when I've heard back from them!
Kind regards,
Stefan
I've asked our devs to take a look here and assist! We will post further in this topic when I've heard back from them!
Kind regards,
Stefan