ODF .NET Class Library
Show/Hide TOC

# DocumentReplace Method

## Definition

Namespace: Independentsoft.Office.Odf
Assembly: Independentsoft.Office.Odf (in Independentsoft.Office.Odf.dll) Version: 3.0.460.1+37fe42d8e65847775742df0a70fdb403ab6fa65f
C#

    public void Replace(
    	string oldText,
    	string newText
    )

VB

    Public Sub Replace (
    	oldText As String,
    	newText As String
    )

#### Parameters

oldText String
newText String

## See Also

#### Reference

Document Class
Independentsoft.Office.Odf Namespace