Url to Pdf converter using Blink issue

Hi,
I'm trying to generate a pdf from a website using blink rendering engine, pdf is create successfully but there's some missing information that are not rendered at all.
Here's code i'm using :
//Initialize HTML to PDF converter with Blink rendering engine
HtmlToPdfConverter htmlConverter = new HtmlToPdfConverter(HtmlRenderingEngine.Blink);

BlinkConverterSettings blinkConverterSettings = new BlinkConverterSettings();

//Set the BlinkBinaries folder path
blinkConverterSettings.BlinkPath = @"/BlinkBinaries/";

//Set single page layout
blinkConverterSettings.SinglePageLayout = SinglePageLayout.FitWidth;

// Add 5000ms delay opening javascript
blinkConverterSettings.AdditionalDelay = 5000;
//Assign Blink converter settings to HTML converter
htmlConverter.ConverterSettings = blinkConverterSettings; //Convert URL to PDF PdfDocument document = htmlConverter.Convert("https://www.morningstar.it/it/etf/snapshot/p_snapshot.aspx?id=0P0001FAC9&InvestmentType=FE"); //Save and close the PDF document document.Save("Output.pdf"); document.Close(true);

I've attached the generated pdf where as you can see Sustainability Rating section is missing , it seems it cannot load data from an external source or something like that.

Any idea on how to solve this issue ?

Thank you

Best Regards

Attachment: Output_852bb68.zip

3 Replies 1 reply marked as answer

GK Gowthamraj Kumar Syncfusion Team April 1, 2021 08:51 AM UTC

Hi Giacomo, 

Thank you for using Syncfusion products.    
     
We have tried to reproduce the reported content missing issue on our end, but it is working properly. We have created a sample and tried to convert the provided URL to pdf document, it generates a PDF document and all the content are rendered properly. We were unable to reproduce the issue and we have shared the sample and output document for your reference. Kindly please run the sample on your end and let us know the result.    
  
  
If still, you are facing the same issue, kindly provide more details such as environment details (OS, Bit version, culture settings, RAM, etc.,), modified sample, product version to check the issue on our end. So, that it will be helpful for us to analyze and assist you further on this.  

Regards, 
Gowthamraj K 


Marked as answer

GI Giacomo April 1, 2021 05:49 PM UTC

Hi Gowthamraj,
thank you for your reply !

Indeed It was my fault, in my production procedure I used another http link wrongly created that cause that issue, it's not your component fault which is working flawlessy

I'm sorry I wasted your time

Kind Regards,
Giacomo


GK Gowthamraj Kumar Syncfusion Team April 2, 2021 04:51 AM UTC

Hi Giacomo,  

Thank you for the update. Please let us know if you need any further assistance with this. 

Regards, 
Gowthamraj K 


Loader.
Up arrow icon