Hello Elizabeth,
FileStream inPdfStream = null;
FileStream outputStream = null;
PdfFileMend mendor = null;
FormattedText ft = null;
string inputFile = @"D:\pdftest\Lettre_type_Resiliation.pdf";
string outputFile = @"D:\pdftest\Lettre_type_Resiliation-Updated.pdf";
int i;
bool errorPdf = false;
string strAddress1 = "strAddress1";
string strAddress2 = "strAddress2";
string strAddress3 = "strAddress3";
MemoryStream memoryStream = null;
inPdfStream = new FileStream(inputFile, FileMode.Open);
outputStream = new FileStream(outputFile, FileMode.Create);
//Aspose.Pdf.License license = new License();
//license.SetLicense(TestSettings.GetInputFile(Aspose.Pdf.lic")
mendor = new PdfFileMend(inPdfStream, outputStream);
ft = new FormattedText("UserSex UserName", System.Drawing.Color.Black, Aspose.Pdf.Facades.FontStyle.TimesRoman, EncodingType.Winansi, true, 10);
mendor.AddText(ft, 1, 123.5f, 772.5f);
ft = new FormattedText("City", System.Drawing.Color.Black, Aspose.Pdf.Facades.FontStyle.TimesRoman,
EncodingType.Winansi, true, 10);
mendor.AddText(ft, 1, 331f, 772.5f);
ft = new FormattedText(DateTime.Now.ToString("dd/MM/yyyy"), System.Drawing.Color.Black, Aspose.Pdf.Facades.FontStyle.TimesRoman, EncodingType.Winansi, true, 10);
mendor.AddText(ft, 1, 460f, 772.5f);
ft = new FormattedText(strAddress1, System.Drawing.Color.Black, Aspose.Pdf.Facades.FontStyle.TimesRoman,
EncodingType.Winansi, true, 10);
mendor.AddText(ft, 1, 112f, 749.25f);
ft = new FormattedText(strAddress2, System.Drawing.Color.Black, Aspose.Pdf.Facades.FontStyle.TimesRoman,
EncodingType.Winansi, true, 10);
mendor.AddText(ft, 1, 64f, 726.25f);
ft = new FormattedText(strAddress3, System.Drawing.Color.Black, Aspose.Pdf.Facades.FontStyle.TimesRoman, EncodingType.Winansi, true, 10);
mendor.AddText(ft, 1, 64f, 703.5f);
ft = new FormattedText("CarrierName", System.Drawing.Color.Black, Aspose.Pdf.Facades.FontStyle.TimesRoman,
EncodingType.Winansi, true, 10);
mendor.AddText(ft, 1, 369f, 726.25f);
ft = new FormattedText(strAddress1, System.Drawing.Color.Black, Aspose.Pdf.Facades.FontStyle.TimesRoman,
EncodingType.Winansi, true, 10);
mendor.AddText(ft, 1, 413f, 703.5f);
ft = new FormattedText(strAddress2, System.Drawing.Color.Black, Aspose.Pdf.Facades.FontStyle.TimesRoman, EncodingType.Winansi, true, 10);
mendor.AddText(ft, 1, 303.75f, 680.5f);
ft = new FormattedText(strAddress3, System.Drawing.Color.Black, Aspose.Pdf.Facades.FontStyle.TimesRoman, EncodingType.Winansi, true, 10);
mendor.AddText(ft, 1, 303.75f, 657.25f);
ft = new FormattedText("UserContract", System.Drawing.Color.Black, Aspose.Pdf.Facades.FontStyle.TimesRoman, EncodingType.Winansi, true, 10);
mendor.AddText(ft, 1, 121.75f, 680.5f);
ft = new FormattedText("CarrierType", System.Drawing.Color.Black, Aspose.Pdf.Facades.FontStyle.TimesRoman, EncodingType.Winansi, true, 10);
mendor.AddText(ft, 1, 151.25f, 657.25f);
string strDate = "27/07/2011";
ft = new FormattedText(strDate.Split('/')[0], System.Drawing.Color.Black, Aspose.Pdf.Facades.FontStyle.TimesRoman, EncodingType.Winansi, true, 9);
mendor.AddText(ft, 1, 268.75f, 509f);
ft = new FormattedText(strDate.Split('/')[1], System.Drawing.Color.Black, Aspose.Pdf.Facades.FontStyle.TimesRoman, EncodingType.Winansi, true, 9);
mendor.AddText(ft, 1, 295.5f, 509f);
ft = new FormattedText(strDate.Split('/')[2], System.Drawing.Color.Black, Aspose.Pdf.Facades.FontStyle.TimesRoman, EncodingType.Winansi, true, 9);
mendor.AddText(ft, 1, 318.5f, 509f);
ft = new FormattedText(strDate.Split('/')[0], System.Drawing.Color.Black, Aspose.Pdf.Facades.FontStyle.TimesRoman, EncodingType.Winansi, true, 9);
mendor.AddText(ft, 1, 227f, 448.5f);
ft = new FormattedText(strDate.Split('/')[1], System.Drawing.Color.Black, Aspose.Pdf.Facades.FontStyle.TimesRoman, EncodingType.Winansi, true, 9);
mendor.AddText(ft, 1, 251.75f, 448.5f);
ft = new FormattedText(strDate.Split('/')[2], System.Drawing.Color.Black, Aspose.Pdf.Facades.FontStyle.TimesRoman, EncodingType.Winansi, true, 9);
mendor.AddText(ft, 1, 273.75f, 448.5f);
ft = new FormattedText(strDate.Split('/')[0], System.Drawing.Color.Black, Aspose.Pdf.Facades.FontStyle.TimesRoman, EncodingType.Winansi, true, 9);
mendor.AddText(ft, 1, 132, 399);
ft = new FormattedText(strDate.Split('/')[1], System.Drawing.Color.Black, Aspose.Pdf.Facades.FontStyle.TimesRoman, EncodingType.Winansi, true, 9);
mendor.AddText(ft, 1, 155, 399);
ft = new FormattedText(strDate.Split('/')[2], System.Drawing.Color.Black, Aspose.Pdf.Facades.FontStyle.TimesRoman, EncodingType.Winansi, true, 9);
mendor.AddText(ft, 1, 177, 399);
ft = new FormattedText(strDate.Split('/')[0], System.Drawing.Color.Black, Aspose.Pdf.Facades.FontStyle.TimesRoman, EncodingType.Winansi, true, 9);
mendor.AddText(ft, 1, 162.5f, 151.5f);
ft = new FormattedText(strDate.Split('/')[1], System.Drawing.Color.Black, Aspose.Pdf.Facades.FontStyle.TimesRoman, EncodingType.Winansi, true, 9);
mendor.AddText(ft, 1, 188.25f, 151.5f);
ft = new FormattedText(strDate.Split('/')[2], System.Drawing.Color.Black, Aspose.Pdf.Facades.FontStyle.TimesRoman, EncodingType.Winansi, true, 9);
mendor.AddText(ft, 1, 213f, 151.5f);
mendor.Close();
outputStream.Close();
inPdfStream.Close();