BookmarkAddMergeField 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
)
Public Sub AddMergeField (
pBookmarkName As String,
pMergeField As String,
Optional pNewParagraph As Boolean = 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