GroupDocs.Watermark for .NET 24.3 Release Notes
This page contains release notes for GroupDocs.watermark for .NET 24.3
The release of GroupDocs.Watermark version 24.3 introduces significant enhancements aimed at extending the functionality of tiled watermarks across various document types, including Excel, Visio, Presentation, and image formats.
Full list of changes in this release
Key | Category | Summary |
---|---|---|
WATERMARKNET-1608 | Enhancement | Extending the functionality of tiled watermarks in a spreadsheet type document |
WATERMARKNET-1606 | Enhancement | Extending the functionality of tiled watermarks for Visio documents |
WATERMARKNET-1601 | Enhancement | Extending the functionality of tiled watermarks for Image documents |
WATERMARKNET-1604 | Enhancement | Extending the functionality of tiled watermarks for Presentation formats |
WATERMARKNET-1609 | 🔧 Fix | Spreadsheet shape watermark size doesn’t match the provided font size |
WATERMARKNET-1605 | 🔧 Fix | Visio document cannot be read when passing DiagramLoadOptions starting from Net standart |
WATERMARKNET-1602 | 🔧 Fix | Tiled watermark line has offsets for positive rotation angles |
WATERMARKNET-1575 | 🔧 Fix | Pdf watermark uses artefact approach when passing PdfXObjectWatermarkOptions |
Major Features
Extending the functionality of tiled watermarks in a spreadsheet type document
🌐 These enhancement bring advanced capabilities to our product, allowing users to apply tiled watermarks more effectively and seamlessly within Excel spreadsheets
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");
}
Extending the functionality of tiled watermarks for Image formats
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");
}