Spire.PDF is a professional PDF library applied to creating, writing, editing, handling and reading PDF files without any external dependencies. Get free and professional technical support for Spire.PDF for .NET, Java, Android, C++, Python.
Wed Apr 11, 2018 9:29 pm
I'm trying to convert some items out of a CRM database, and these often have image sources that refer to a partial URI with a query string attached. The PdfDocument.LoadFromHTML method doesn't appear to have any constructors that accept an image provider, so I was wondering if anyone had any advice on resolving these image sources.
The images are in the CRM database, and the query string itself has the attachment ID as a parameter. Ideally, I would like to override the image provider (or create one and inherit/implement the existing one) and have it query the CRM database for the image byte array.
Thanks in advance!
-

citiesdigital
-
- Posts: 1
- Joined: Fri Feb 09, 2018 3:45 pm
Thu Apr 12, 2018 3:26 am
Hello,
Thanks for your inquiry.
While loading HTML file, our Spire.Pdf is for the whole HTML page but doesn't have ability to individually process some data of HTML page such as image source. Sorry your requirement cannot be reached. If you have other questions, welcome to write back. Good day!
Sincerely,
Nina
E-iceblue support team
-


Nina.Tang
-
- Posts: 1385
- Joined: Tue Sep 27, 2016 1:06 am