Watermark

Overview

Watermark is a class in Aspose.PDF FOSS for .NET.

Watermark applied to a page.

This class provides 2 methods for working with Watermark objects in .NET programs. Available methods include: Watermark. All public members are accessible to any .NET application after installing the Aspose.PDF FOSS for .NET package. Properties: Available, Image, Position.

Properties

NameTypeAccessDescription
ImageSystem.Drawing.Image?ReadThe watermark image (null when the watermark is unavailable).
PositionRectangle?ReadPosition rectangle on the page (null = whole page).
AvailableboolReadWhether the watermark is currently available for rendering.

Methods

SignatureDescription
Watermark(image: System.Drawing.Image)Calls Watermark(image) on this Watermark instance.
Watermark(image: System.Drawing.Image, rect: Rectangle)Calls Watermark(image, rect) on this Watermark instance.

See Also

 English