Hi Minnu,
Sorry for the long delay in getting back with you.
1. Measuring Text
We can calculate the size of the text by using the method MeasureString() in PdfFont class. Kindly use the below codes to measure the size of the text,
PdfFont font = new PdfStandardFont(PdfFontFamily.Helvetica, 8);
SizeF size = font.MeasureString(footerText);
Please do find the sample which demonstrates the above mentioned features and let me know if this helps,
http://www.syncfusion.com/uploads/redirect.aspx?file=79767_Sample_7330c226.zip&team=supportRegards,
Suba