How do I take a string and create a PDF?

using js and asp.net

I want take some string e create a pdf with header image
I'm searching, but not found anything

3 Replies 1 reply marked as answer

GK Gowthamraj Kumar Syncfusion Team March 4, 2021 03:08 PM UTC

Hi Orlando, 

Thank you for contacting Syncfusion support.    
    
Kindly please share more details about your requirement, So, that it will be helpful for us to analyze and assist you further on this.       
    
  • If you are expecting to create a pdf document from HTML string or draw a string into a PDF document with header section as image.
  • Please explain or share more details about this “I want take some string e create a pdf with header image
  • Expected screenshot of your requirement.

Regards, 
Gowthamraj K 



OL Orlando Luis March 5, 2021 05:56 PM UTC

Hi Gowthamraj 

I have an string, and want create pdf like the attached image

If more easy, to do some html, then export, works form me.

I'm searching how to export html in the ej2, but not find

Have a nice day

Attachment: RECIBO_d95f2762.rar


GK Gowthamraj Kumar Syncfusion Team March 8, 2021 02:01 PM UTC

Hi Orlando, 

Thank you for sharing the details. 
 
We can draw a string text in the new PDF document by using DrawString method of PdfGraphics class in our Syncfusion PDF library. We have created a sample to generate a PDF document as it look like in the provided image file by using our PDF library. We have attached the sample and output document for your reference. Kindly please try the sample in your end and let us know if it is suites your requirement. 
   
 
Please refer to this below link for more information, 
 
Regards, 
Gowthamraj K 



Marked as answer
Loader.
Up arrow icon