Having problems getting ReplaceText to work using C# .NET and a licensed version of PDF.Kit
I get the following error on the line:
editor.ReplaceText("test", "text");
Here is the sample code:
private void button2_Click(object sender, EventArgs e)
{
Aspose.Pdf.Kit.License lic = new Aspose.Pdf.Kit.License();
lic.SetLicense("Aspose.Pdf.Kit.lic");
</p><p>Aspose.Pdf.Kit.PdfContentEditor editor = new Aspose.Pdf.Kit.PdfContentEditor();
editor.BindPdf("c:\temp\test.pdf");
</p><p>editor.ReplaceText("test", "text");
</p><p>editor.Save("c:\temp\replace.pdf");
</p><p>}