Skip to content

Instantly share code, notes, and snippets.

@bjoerntx
Created September 2, 2015 11:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bjoerntx/fbc580b2e2238cce734d to your computer and use it in GitHub Desktop.
Save bjoerntx/fbc580b2e2238cce734d to your computer and use it in GitHub Desktop.
private void mailMerge1_FieldMerged(object sender,
TXTextControl.DocumentServer.MailMerge.FieldMergedEventArgs e)
{
ApplicationField field = e.MailMergeFieldAdapter.ApplicationField;
field.Text = field.Text.Replace(@"\r\n", "\r\n");
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment