Browse our Products

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.

 

GroupDocs.Watermark for .NET 24.7

Download   Support Forum 

File Details

  • Downloads:
  • 1
  • File Size:
  • 150.89MB
  • Date Added:
  • 26/7/2024

Description

This contains the MSI installer of GroupDocs.Watermark for .NET 24.7 release.

File Details

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.

Seamless Integration

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.

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*

Precise Tiled Watermark Control

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");
}

Source*

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.

 English