I am referring to below url, for pdf conversion, but pdf created is all distorted, just reading the html from file or tried by read all html from the url, but failed, do i missing something
https://www.aspsnippets.com/Articles/iTextSharp-Generate-PDF-in-Memory-and-send-as-Email-Attachment-using-C-VBNet-and-ASPNet.aspx
Below is the html
Emp. No |
EA10001 |
Emp. Name |
Aji Natarajan |
Designation |
Asst. Supervisor/Sports & Leisure Club |
DOJ |
01/04/2015 |
IBAN |
AE250440000001342845101 |
Bank |
Standard Chartered Bank |
|
Date: |
17-Dec-2017 |
Salary Month |
August - 2017 |
Month Days |
31 |
Absent Days |
0 |
Non Working Days |
0 |
Actual Work Days |
31 |
|
Earnings |
|
Salary Components |
Earned Salary |
Basic Salary |
3,616.50 |
Consolidated Allowances |
3,616.50 |
OT |
1,700.45 |
Total Amount |
8,933.45 |
|
|
|
Deductions |
|
Deduction Type |
Deduction Amount |
Total Deduction |
0.00 |
|
|
|
|
|
|
This is system generated payslip. |