Hello!
I am trying to use the function ApplyCharacterFormat in a Field:
Field field = row.Cells [cellInfo.CurrentColumn] .Paragraphs [0] .AppendField (varName, FieldType.FieldDocProperty);
field.ApplyCharacterFormat (cellInfo.CellFormat);
where cellformat is a previously saved CharacterFormat.
The fact is that the resulting document does not apply the format to the naked eye but if I press Alt + F9 I see that it really has taken it.
I attach an example.
How can I apply the format really and what is shown in the document?
If I do this with a text it works perfectly:
TextRng textRng = row.Cells [cellInfo.CurrentColumn] .Paragraphs [0] .AppendText (strFormatValue);
textRng.ApplyCharacterFormat (cellInfo.CellFormat);
Thank you very much!,