Click or drag to resize

PdfTextReplacer ReplaceText Method

Replaces the first target text in the page.

Namespace: Spire.Pdf.Texts
Assembly: Spire.Pdf (in Spire.Pdf.dll) Version: 11.3.7.0 (11.3.7.1046)
Syntax
public int ReplaceText(
	string oldText,
	string newText
)

Parameters

oldText
Type: System String
The old text.
newText
Type: System String
The new text.

Return Value

Type: Int32
Number of texts replaced.
See Also