Skip to content

Commit 603dca4

Browse files
Modified the XML comments
1 parent 8da0f0b commit 603dca4

File tree

1 file changed

+2
-2
lines changed
  • Mail-Merge/Replace-merge-field-with-html-image/Replace-merge-field-with-html-image

1 file changed

+2
-2
lines changed

Mail-Merge/Replace-merge-field-with-html-image/Replace-merge-field-with-html-image/Program.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,13 +90,13 @@ void InsertHtml()
9090
int index = valuePair.Key;
9191
string fieldValue = valuePair.Value;
9292

93-
//Subscribe the ImageNodeVisited event to resolve images within HTML content.
93+
//Hook the ImageNodeVisited event to resolve images within HTML content.
9494
paragraph.Document.HTMLImportSettings.ImageNodeVisited += OpenImage;
9595

9696
//Inserts an HTML string at the same position of mergefield in a Word document.
9797
paragraph.OwnerTextBody.InsertXHTML(fieldValue, paragraph.OwnerTextBody.ChildEntities.IndexOf(paragraph), index);
9898

99-
//Unsubscribe the ImageNodeVisited event after processing.
99+
//Unhook the ImageNodeVisited event after processing.
100100
paragraph.Document.HTMLImportSettings.ImageNodeVisited -= OpenImage;
101101
}
102102
}

0 commit comments

Comments
 (0)