Description
Creates and returns a MergeField at the end of this Element. This merge field will have the specified name and contents.
C#
public virtual MergeField InsertMergeFieldAfter(System.String fieldName, System.String display)
vb.net
Public Overridable Function InsertMergeFieldAfter(ByVal fieldName As String, ByVal display As String) As MergeField
Parameters
fieldName
AString representing the name of this merge field.
display
AString representing the text that will be displayed for this merge field in the document.
Returns
AMergeField object representing the newly created merge field.
Exceptions
System.Exception
Examples
C#
MergeField mfield = e.InsertMergeFieldAfter("MyField", "ThisNameIsDisplayed");vb.net
Dim mfield As MergeField = e.InsertMergeFieldAfter("MyField", "ThisNameIsDisplayed")
