Open Doc/PDF/Html from a URL

I need to:
  1.  visit a link
  2.  determine if the link content is a Word Document, PDF, or just an HTML page
  3.  convert the content to PDF and append it to my PDF final report
Is there a way to do this?

Thanks,
Anneliese

1 Reply 1 reply marked as answer

GK Gowthamraj Kumar Syncfusion Team June 3, 2021 10:15 AM UTC

Hi Anneliese, 
 
Thank you for contacting Syncfusion support.  
 
We can find the file type using file extension from URL, based on the extension we can convert it to PDF and we can append to existing/new PDF document. If you could not find the file type from extension, then you find the file type or format using mime type from the URL or byte content.  
 
Please refer below links for more information about the conversion, 
 
 
 
Regards, 
Gowthamraj K 


Marked as answer
Loader.
Up arrow icon