Show / Hide Table of Contents

# Class FindReplace

static interface to Iceni Find/Replace text functionality

##### Inheritance

object
FindReplace

##### Inherited Members

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

###### Namespace: pdftron.PDF

###### Assembly: PDFTronDotNet.dll

##### Syntax

    public static class 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 | FindReplace options (optional).