API Reference

Class

PdfTextWatermark

Namespace OfficeIMO.Pdf
Assembly OfficeIMO.Pdf
Modifiers sealed

Reusable text watermark rendered behind page content.

Inheritance

  • Object
  • PdfTextWatermark

Usage

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Accepted by parameters

Constructors

public PdfTextWatermark(String text) #

Creates a text watermark.

Parameters

text System.String requiredposition: 0

Methods

public PdfTextWatermark Clone() #
Returns: PdfTextWatermark

Creates a deep copy of this watermark.

Properties

public String Text { get; set; } #

Watermark text.

public PdfStandardFont Font { get; set; } #

Standard PDF font family used for the watermark.

public Double FontSize { get; set; } #

Watermark font size in points.

public PdfColor Color { get; set; } #

Watermark fill color. Defaults to a neutral gray.

public Double Opacity { get; set; } #

Fill opacity from 0 to 1. Defaults to 0.12.

public Double RotationAngle { get; set; } #

Rotation angle in degrees. Defaults to -35.

public Boolean Bold { get; set; } #

Use the bold variant of Font when available.

public Boolean Italic { get; set; } #

Use the italic variant of Font when available.