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…...when the new text contains a point or comma, but it works when...
Learn how to create and format bulleted, picture, multilevel, and numbered lists in PowerPoint and OpenDocument presentations using Aspose.Slides for Node.js via Java.... The main entry point is Paragraph.getParagraphFormat()...
Discover the latest advancements in Aspose.Imaging, Java image processing library designed to streamline your workflow. Explore enhanced capabilities for seamless image export and conversion, allowing for effortless manipulation of images....Here's a summary of the key points: EpsType Enumeration : Utilize...color area by simply choosing a point within it. The tool automatically...
Learn how to develop a Markdown to Word converter in C#. Convert MD files to DOCX programmatically with Aspose.Words for .NET in just a few lines....Class: This is the main entry point in Aspose.Words. It loads and...
Compare PDF documents using Python to diff two files. With our Python API you can detect the difference even if one character or one word has been changed.... An important point: the compared PDF documents...
Fundamentals of working with TeX as an output or input format within Aspose.TeX API. TeX job runs on an explicitly specified file.... At this point, you may want to replace the...
Compare WORD documents using JavaScript to diff two files. With our JavaScript API you can detect the difference even if one character or one word has been changed.... An important point: the compared Word documents...
Compare TXT documents using Python to diff two files. With our Python API you can detect the difference even if one character or one word has been changed.... An important point: the compared TXT documents...
Compare Word or PDF documents using JavaScript to get the difference between files. You can also compare files in other popular formats.... An important point: the compared documents should...
Compare DOC documents using JavaScript to diff two files. With our JavaScript API you can detect the difference even if one character or one word has been changed.... An important point: the compared DOC documents...