How to use the PDF Viewer for rendering pdf in binary format

Hi Community,   

Does anyone have a sample code in Blazor on how to open a pdf file stored as binary in the database with PDF Viewer control? 

Regards,

3 Replies 1 reply marked as answer

AA Akshaya Arivoli Syncfusion Team December 1, 2020 12:15 PM UTC

Hi Alain, 

Thank you for contacting Syncfusion support. 

We can display the PDF documents from the binary format in PDF Viewer using the DocumentPath or Load() API. We have created the sample for the same and shared in the below link, 
Kindly try it and revert us with more details about your requirement if you have any concerns. 

Regards,   
Akshaya    


Marked as answer

AJ Alain Jimenez December 2, 2020 05:54 PM UTC

It's simple as that!? awesomeness!  Thank you much!


AA Akshaya Arivoli Syncfusion Team December 3, 2020 08:03 AM UTC

Hi Alain, 

Thank you for your update. We are glad to know that the provided solution is working for you. Please revert if you need any further assistance. 

Regards, 
Akshaya   


Loader.
Up arrow icon