private String GetNewSigName()
{
AcroFields af = this.AcroFields;
String name = "Signature";
int step = 0;
bool found = false;
while (!found)
{
++step;
String n1 = name + step;
if (af.GetFieldItem(n1) != null)
{
continue;
}
n1 += ".";
found = true;
foreach (String fn in af.Fields.Keys)
{
if (fn.StartsWith(n1))
{
found = false;
break;
}
}
}
name += step;
return(name);
}