Add Text Stamp to PDF via Python
Create text stamp programmaticaly using Aspose.PDF for Python for .NET Library
How to add Text Stamps to PDF Using Python for .NET Library
In order to work with text stamp into PDF file, we’ll use Aspose.PDF for .NET API which is a feature-rich, powerful and easy to use document manipulation API for python-net platform. Open NuGet package manager, search for Aspose.PDF and install. You may also use the following command from the Package Manager Console.
Add Text Stamp to PDF Document Python
You need Aspose.PDF for Python to try the code in your environment.
- Load the PDF with an instance of Document.
- Open a PDF document using Document object.
- Create Text Stamp and define its properties.
- Add the Text Stamp to Page using AddStamp method