Click or drag to resize

Bookmark.AddMergeField Method

Document adds a merge field at bookmarks

Namespace:  SIC.OpenDocumentFormat.MSWord
Assembly:  SIC.OpenDocumentFormat (in SIC.OpenDocumentFormat.dll) Version: 19.1.23.1 (19.1.23.622)
Syntax
public void AddMergeField(
	string pBookmarkName,
	string pMergeField,
	bool pNewParagraph = false
)

Parameters

pBookmarkName
Type: System.String
Bookmark name
pMergeField
Type: System.String
Merge field name
pNewParagraph (Optional)
Type: System.Boolean
Insert a new paragraph after bookmark and write merge field
See Also