public void SetTextFieldParams(PdfFormField field, string text, string name, float llx, float lly, float urx, float ury)
{
field.SetWidget(new Rectangle(llx, lly, urx, ury), PdfAnnotation.HIGHLIGHT_INVERT);
field.ValueAsString = text;
field.DefaultValueAsString = text;
field.FieldName = name;
field.Flags = PdfAnnotation.FLAGS_PRINT;
field.SetPage();
}