Click or drag to resize

ContentReplacerSetMatchStrings Method

Change the delimiters from '[' and ']' to arbitary strings.

Namespace:  pdftron.PDF
Assembly:  pdftron (in pdftron.dll) Version: 255.255.255.255
Syntax
public void SetMatchStrings(
	string start_str,
	string end_str
)

Parameters

start_str
Type: SystemString
The starting delimiter string.
end_str
Type: SystemString
The ending delimiter string.
Remarks
While empty strings are allowed as delimiters, a warning is displayed. Otherwise there are no restrictions. For example, after SetMatchStrings("{{", "}}"), AddString("TITLE", "Doctor") will replace any text consisting of "{{TITLE}}" with "Doctor". Similarly, after SetMatchStrings("Beginning...", "...ending."), AddString("TITLE", "Doctor") will replace "Beginning...TITLE...ending." with "Doctor".
See Also