Show / Hide Table of Contents

# Class FindReplace

static interface to Iceni Find/Replace text functionality

##### Inheritance

object
FindReplace

##### Inherited Members

object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()

###### Namespace: pdftron.PDF

###### Assembly: PDFNet.dll

##### Syntax

    public sealed class FindReplace

### Constructors

#### FindReplace()

##### Declaration

    public FindReplace()

### Methods

#### FindReplaceText(PDFDoc, string, string)

Finds and Replaces text within a PDF.

##### Declaration

    public static void FindReplaceText(PDFDoc input, string from, string to)

##### Parameters

Type | Name | Description
--- | --- | ---
PDFDoc | input | The pdf to be processed.
string | from | Text to find in the PDF.
string | to | Text to replace with in the PDF.

#### FindReplaceText(PDFDoc, string, string, FindReplaceOptions)

Finds and Replaces text within a PDF.

##### Declaration

    public static void FindReplaceText(PDFDoc input, string from, string to, FindReplaceOptions options)

##### Parameters

Type | Name | Description
--- | --- | ---
PDFDoc | input | The pdf to be processed.
string | from | Text to find in the PDF.
string | to | Text to replace with in the PDF.
FindReplaceOptions | options | Find/Replace options (optional).