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
)
Public Sub SetMatchStrings (
start_str As String,
end_str As String
)
public:
virtual void SetMatchStrings(
[InAttribute] String^ start_str,
[InAttribute] String^ end_str
) sealed
function SetMatchStrings(start_str, 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