Click or drag to resize

ContentReplacerAddString Method

Any text of the form "[template_text]" will be replaced by "replacement_text".

Namespace:  pdftron.PDF
Assembly:  pdftron (in pdftron.dll) Version: 255.255.255.255
Syntax
public void AddString(
	string template_text,
	string replacement_text
)

Parameters

template_text
Type: SystemString
The text to remove.
replacement_text
Type: SystemString
The new text that will appear in place of 'template_text'.
Remarks
Only text wrapped in '[' and ']' will be checked, and if it matches 'template_text', then 'template_text' and the surrounding square braces will be replaced by 'replacement_text'. For example AddString("TITLE", "Doctor") will replace any text consisting of "[TITLE]" with "Doctor".
See Also