Skip to main content
Version: latest

IWatermarkApi

Interface

An API object used to change the settings of the watermark.

Methods

color

Object that can be used to read/set/watch the color of the watermark text.

Signature

color() => IWatchedValue<string>

Returns

IWatchedValue<string>


setContentProvider

Set a custom content provider for the watermark content.

Signature

setContentProvider(provider: WatermarkContentProvider) => void

Parameters

NameTypeDescription
providerWatermarkContentProviderCustom watermark content provider, use null if you would like to revert back to the default content for the watermark.

Returns

void


visibility

Object that can be used to read/set/watch the visibility of the watermark.

Signature

visibility() => IWatchedValue<boolean>

Returns

IWatchedValue<boolean>