Mailmerge

[Top]  [Chapter]  [Previous]  [Next]

Mailmerge is using the property MergeFieldStart and the event OnGetText.

 

If MergeFieldStart is not "" and any text which is sent to the PDF engine starts with it the OnGetText event will be triggered to let You modify the text which is actually displayed in the PDF file.

 

private void pdfControl1_OnGetText(object Sender, string Name, System.Text.StringBuilder Value)

{

 // Clear the text

 Value.Length = 0;

 // and set a new text

 Value.Append("WPCubed GmbH");

}


[mailmerge_2.htm]    Copyright © 2007 by WPCubed GmbH