PDFDocument.Replace Method (String, String, RESearchOption, Int32, Int32)
Click or drag to resize
PDFDocumentReplace Method (String, String, RESearchOption, Int32, Int32)
Replace specified text from specified pdf page from the offset page index.

Namespace: RasterEdge.XDoc.PDF
Assembly: RasterEdge.XDoc.PDF (in RasterEdge.XDoc.PDF.dll) Version: 9.8.7.60526 (9.8.7.60526)
Syntax
public void Replace(
	string oldString,
	string newString,
	RESearchOption option,
	int pageOffset,
	int pageCount
)

Parameters

oldString
Type: SystemString
The word will be replaced.
newString
Type: SystemString
The new word that will replace the old word.
option
Type: RasterEdge.Imaging.Basic.TextSearchRESearchOption
Replace options, such as WholeWord, IgonreCase..
pageOffset
Type: SystemInt32
The replaced page index offset starting at 0.
pageCount
Type: SystemInt32
The page count will be replaced from the offset.
See Also