Click or drag to resize

BookmarkAddMergeField Method

Document adds a merge field at bookmarks

Namespace:  SOWIDocument.Word
Assembly:  SOWIDocument.Word (in SOWIDocument.Word.dll) Version: 22.2.10.1 (22.2.10.450)
Syntax
public void AddMergeField(
	string pBookmarkName,
	string pMergeField,
	bool pNewParagraph = false
)

Parameters

pBookmarkName
Type: SystemString
Bookmark name
pMergeField
Type: SystemString
Merge field name
pNewParagraph (Optional)
Type: SystemBoolean
Insert a new paragraph after bookmark and write merge field
See Also