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.
This release of GroupDocs.Watermark for .NET 24.3 (MSI) brings exciting enhancements focused on expanding the capabilities of tiled watermarks for various MS Office document formats, including Excel spreadsheets, PowerPoint presentations, as well as Visio diagrams and image files.
With the latest update to the .NET document watermarking API, we have fine-tuned the functionality of tiled watermarks within Excel spreadsheets. .NET developers can now leverage the TileOptions property to define line and watermark spacing for tiled watermarks accurately. 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 offers better control over tiled watermarks in image formats by utilizing the TileOptions property to customize the spacing and positioning of watermarks. This sample code 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");
}
Users can now insert tiled watermarks within presentation formats as well. This release equips developers with the tools to create visually impactful watermarks that blend into their presentations. Similarly, adding tiled watermarks to Visio diagrams is possible with the C# watermarking API. Confidently incorporate this feature into your applications 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.