I use your Free Spire.Doc for .NET for mail merging.
And I have a problem with updating such IF field (please, check attachment):
IF AMOUNT < 500 -> Show <Image> with "Mr. CEO" text
otherwise -> show just a text "Mr. CEO".
I call mail merging:
- Code: Select all
document.MailMerge.Execute(filedNames, filedValues);
After mail merging and opening document the image is not shown, but AMOUNT field is set correct. I have to manually update fileds using Word context menu "Update Fields" to see the image.
How can I do it programatically?
- Code: Select all
document.IsUpdateFields = true;