It’s very easy to use Select.Pdf SDK for .NET. Take a look at the simple code below.
1 2 3 4 5 6 7 8 9 10 11 |
SelectPdf.PdfDocument doc = new SelectPdf.PdfDocument(); SelectPdf.PdfPage page = doc.AddPage(); SelectPdf.PdfFont font = doc.AddFont(SelectPdf.PdfStandardFont.Helvetica); font.Size = 20; SelectPdf.PdfTextElement text = new SelectPdf.PdfTextElement(50, 50, "Hello world!", font); page.Add(text); doc.Save("test.pdf"); doc.Close(); |