Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

PdfTextWatermark

OfficeIMO.Pdf

Namespace
OfficeIMO.Pdf
Assembly
OfficeIMO.Pdf
Source revision
be6c300e4ab1 with working tree changes
Modifiers
sealed

Reusable text watermark rendered behind page content.

Inheritance

  • object
  • PdfTextWatermark

Usage

Explore 7 API references to this type

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

Accepted by parameters 3

Constructors

public PdfTextWatermark(string text) #

Creates a text watermark.

Parameters

text string required

Methods

public PdfTextWatermark Clone() #

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 OfficeLength FontSize { get; set; } #

Watermark font size in points.

public OfficeColor 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 bool Bold { get; set; } #

Use the bold variant of PdfTextWatermark.Font when available.

public bool Italic { get; set; } #

Use the italic variant of PdfTextWatermark.Font when available.