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.
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.
Great news for .NET developers! GroupDocs.Watermark for .NET 24.3 (DLLs only package) introduces useful feature enhancements related to tiled watermarks for MS Office formats (Excel and PowerPoint), Visio, and images.
The .NET document watermarking API now includes refined functionality of tiled watermarks within Excel spreadsheets on Windows, Linux, and macOS systems. Developers can use the TileOptions property to specify line and watermark spacing for tiled watermarks. The following code sample shows how to use this feature in C#.
using (Watermarker watermarker = new Watermarker("test.xlsx", new SpreadsheetLoadOptions()))
{
// 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.Percent,
Value = 12
},
WatermarkSpacing = new MeasureValue()
{
MeasureType = TileMeasureType.Percent,
Value = 10
},
};
watermark.Opacity = 0.3;
watermark.RotateAngle = -30;
// Add the text watermark with additional options
var watermarkOptions = new SpreadsheetWatermarkShapeOptions();
watermarkOptions.IsLocked = true;
watermarker.Add(watermark, watermarkOptions);
// Save the watermarked document and capture the watermarking result
WatermarkResult watermarkResult = watermarker.Save("result.xlsx");
}
GroupDocs.Watermark for .NET 24.3 delivers greater tiled watermark control in image file formats by leveraging the TileOptions property. This property lets you customize the spacing and positioning of watermarks easily. The following code sample demonstrates how to add tiled watermarks to an image.
using (Watermarker watermarker = new Watermarker("test.png", new ImageLoadOptions()))
{
// 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.Percent,
Value = 12
},
WatermarkSpacing = new MeasureValue()
{
MeasureType = TileMeasureType.Percent,
Value = 10
},
};
watermark.Opacity = 0.3;
watermark.RotateAngle = -30;
watermarker.Add(watermark);
// Save the watermarked document and capture the watermarking result
WatermarkResult watermarkResult = watermarker.Save("result.png");
}
You can now add tiled watermarks to PowerPoint presentations with the most recent .NET API release. This version enables you to create catchy watermarks that blend into your presentation slides on a platform of your choice. Additionally, inserting tiled watermarks into Visio diagrams is also supported by our watermarking API. Seamlessly implement this functionality into your apps and obtain reliable results.
DiagramLoadOptions starting from .NET Standard (WATERMARKNET-1605).PdfXObjectWatermarkOptions (WATERMARKNET-1575).You can view the list of all new features, enhancements, and bug fixes introduced in this release by visiting GroupDocs.Watermark for .NET 24.3 Release Notes.