|[Top] [Chapter] [Previous] [Next]|
This property is used to assign a string to this value to replace the contents of the field. You can also read the field to retrieve the current data. An instance of the interface IWPFieldContents is passed to the event OnFieldGetText after the method MergeText was called.
You can also assign a string in RTF or WPT format. HTML will be auto detected if the text starts with <html>.
StringValue = "<html><b>Super</b> mail merge</html>"
This code will insert the text: Super mail merge
If you need to create a hyperlink use the method InputHyperlink und set the link text using this property.