Show / Hide Table of Contents

Class WatermarkAppearance

Represents the appearance of a watermark in a PDF document.

Inheritance
System.Object
WatermarkAppearance
Namespace: Adobe.PDFServicesSDK.pdfjobs.parameters.pdfwatermark
Assembly: Adobe.PDFServicesSDK.Doc.dll
Syntax
public class WatermarkAppearance

Constructors

WatermarkAppearance()

Initializes a new instance of the WatermarkAppearance class with default values.

Declaration
public WatermarkAppearance()

Properties

AppearOnForeground

Gets or sets whether the watermark should appear on the foreground.

Declaration
public bool AppearOnForeground { get; set; }
Property Value
Type Description
System.Boolean

Opacity

Gets or sets the opacity of the watermark.

Declaration
public int Opacity { get; set; }
Property Value
Type Description
System.Int32

Methods

GetAppearOnForeground()

Gets whether the watermark should appear on the foreground.

Declaration
public bool GetAppearOnForeground()
Returns
Type Description
System.Boolean

True if the watermark should appear on the foreground; otherwise, false.

GetOpacity()

Gets the opacity of the watermark.

Declaration
public int GetOpacity()
Returns
Type Description
System.Int32

An integer representing the opacity of the watermark (0-100).

SetAppearOnForeground(Boolean)

Sets whether the watermark should appear on the foreground.

Declaration
public void SetAppearOnForeground(bool appearOnForeground)
Parameters
Type Name Description
System.Boolean appearOnForeground

True if the watermark should appear on the foreground; otherwise, false.

SetOpacity(Int32)

Sets the opacity of the watermark.

Declaration
public void SetOpacity(int opacity)
Parameters
Type Name Description
System.Int32 opacity

An integer representing the opacity of the watermark (0-100).

In This Article
Back to top Copyright © 2020 Adobe. All rights reserved.