Browse our Products Toggle navigation
If so you can download any of the below versions for testing. The product will function as normal except for an evaluation limitation. At the time of purchase we provide a license file via email that will allow the product to work in its full capacity. If you would also like an evaluation license to test without any restrictions for 30 days, please follow the directions provided here.
If you experience errors, when you try to download a file, make sure your network policies (enforced by your company or ISP) allow downloading ZIP and/or MSI files.
Take your document security and branding to the next level with the latest update of GroupDocs.Watermark for .NET (v24.7 MSI). This release empowers developers with two key enhancements for your C# applications.
In the most recent .NET document parsing and indexing API release, the Add method returns results with added watermarks, which ascertains simplified watermark integration. Check out the following code example to learn how to use this feature in your C# apps.
Add
using (Watermarker watermarker = new Watermarker("test.pdf", new PdfLoadOptions())) { // Create a text watermark with a specified text and font var watermark = new TextWatermark("watermark", new Font("Arial", 48)); watermark.Opacity = 0.3; watermark.RotateAngle = -45; var result = watermarker.Add(watermark); foreach(var item in result.Succeeded) { Console.WriteLine("WatermarkId: {0}", item.WatermarkId); Console.WriteLine("WatermarkType: {0}", item.WatermarkType); Console.WriteLine("PageNumber: {0}", item.PageNumber); Console.WriteLine("WatermarkPosition: {0}", item.WatermarkPosition); } // Save the watermarked document and capture the watermarking result WatermarkResult watermarkResult = watermarker.Save("result.pdf"); }
Source*
Developers can enjoy finer control over tiled watermarks with the ability to rotate them relative to the center of the document and ensure perfect alignment. The following sample code explains how to use this functionality with GroupDocs.Watermark for .NET 24.7.
using (Watermarker watermarker = new Watermarker("test.pdf", new PdfLoadOptions())) { // Create a text watermark with a specified text and font var watermark = new TextWatermark("watermark", new Font("Arial", 48)); // Configure TileOptions watermark.TileOptions = new TileOptions() { LineSpacing = new MeasureValue() { MeasureType = TileMeasureType.Points, Value = 100 }, WatermarkSpacing = new MeasureValue() { MeasureType = TileMeasureType.Points, Value = 70 }, }; watermark.RotateAroundCenter = true; watermark.Opacity = 0.3; watermark.RotateAngle = -45; // Add the text watermark with additional options PdfArtifactWatermarkOptions textWatermarkOptions = new PdfArtifactWatermarkOptions(); watermarker.Add(watermark, textWatermarkOptions); // Save the watermarked document and capture the watermarking result WatermarkResult watermarkResult = watermarker.Save("result.pdf"); }
You can view the list of all new features, enhancements, and bug fixes introduced in this release by visiting GroupDocs.Watermark for .NET 24.7 Release Notes.