FastReport.Net.Demo by Fast Reports Inc.

<PackageReference Include="FastReport.Net.Demo" Version="2022.2.5" />

.NET API 15,777,792 bytes

 Watermark

public class Watermark : IDisposable
Represents the report page watermark.
public bool Enabled { get; set; }

Gets or sets avalue indicating that watermark is enabled.

public Font Font { get; set; }

Gets or sets a font of the watermark text.

public Image Image { get; set; }

Gets or sets the watermark image.

public WatermarkImageSize ImageSize { get; set; }

Gets or sets the watermark image size mode.

public float ImageTransparency { get; set; }

Gets or sets an image transparency.

public PictureObject PictureObject { get; set; }

public bool ShowImageOnTop { get; set; }

Gets or sets a value indicates that the image should be displayed on top of all page objects.

public bool ShowTextOnTop { get; set; }

Gets or sets a value indicates that the text should be displayed on top of all page objects.

public string Text { get; set; }

Gets or sets the watermark text.

public FillBase TextFill { get; set; }

Gets or sets a text fill.

public WatermarkTextRotation TextRotation { get; set; }

Gets or sets a text rotation.

public Watermark()

Initializes a new instance of the Watermark class with default settings.

public void Assign(Watermark source)

Assigns values from another source.

public Watermark Clone()

Creates exact copy of this Watermark.

public void Dispose()

Disposes resources used by the watermark.

public virtual void DrawImage(FRPaintEventArgs e, RectangleF displayRect, Report report, bool isPrinting)

Draws watermark image.

public void DrawText(FRPaintEventArgs e, RectangleF displayRect, Report report, bool isPrinting)

Draws watermark text.

public void Serialize(FRWriter writer, string prefix, Watermark c)

Serializes the watermark.