I want to replace teXt in pdf with Aspose.PDF, But throw a NullReferenceEXception.
the sample code :
var doc = new Aspose.Pdf.Document(@“D:\abc\1212\c++.1.pdf”);
var sourceTeXt = “的”;
var targetTeXt = “X”;
RegeX rul…...sourceText = “的”; var targetText = “x”; Regex ruleRegexp = new Regex(Regex...