Good day,
I change the value of the field in the document, update all fields of type Comments. However, the new value is written to me only in part of the fields. Could you take a look at why it doesn’t prescribe it for everyone but only for some…
my code:
Document doct = new Document("..................................");
doct.BuiltInDocumentProperties.Comments = "TestTest";
for (int idx = doct.Range.Fields.Count - 1; idx >= 0; idx--)
{
Field field = doct.Range.Fields[idx];
if (field.Type == FieldType.FieldComments)
{
field.Update();
}
}
the result is that out of 126 fields, the value changes in 55…
Thanks for any advice.