## ReplaceText(string, int, string, TextState) {#replacetext_1} Replaces text in the PDF file on the specified page. [`TextState`](../../.aspose.pdf.text/textstate/) object (font family, color) can...... ```csharp public bool ReplaceText(string...properties for the new text. ```csharp // open document Document doc...