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…...#=z$cT4rUbVvbf55yEN5A==(List`1 #=zbotslM0=)...#=zhapHuKIwgqvG, Int32 #=zJvhIcTs=, Int32 #=z$Opc65M=, Boolean #=z6HtpULqCUJKiS394NaT=)...