Click or drag to resize

PdfTextReplacer ReplaceAllText Method (String, String, Color)

Replaces all 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 ReplaceAllText(
	string oldText,
	string newText,
	Color textColor
)

Parameters

oldText
Type: System String
The old text
newText
Type: System String
The new text
textColor
Type: System.Drawing Color
The color of the new text.

Return Value

Type: Int32
Number of texts replaced.
See Also