A “Hello, World!” code is often the first simple example to write uisng “GroupDocs.Watermark for Python via .NET”, and it can also be used as a sanity test to ensure the software intended to compile or run source code is correctly installed.
Overview
“GroupDocs.Watermark for Python via .NET” library allows you to add, search and remove watermarks from the documents in various formats. There are many other file formats are supported.
Steps to Render a Document
The following steps outline how to render a document to HTML format using the GroupDocs.Watermark for Python via .Net:
Import groupDocs.watermark.
Import groupDocs.watermark.watermarks class.
Initialize a Watermarker object with the path to the sample document.
Initialize an TextWatermark object with the desired text and font for watermark.
Call add() method to add the watermark.
Code Snippet
Here is a “Hello, World!” example to demonstrate the working of the “GroupDocs.Watermark for Python via .Net” API: