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
Name | Type | Description |
---|---|---|
provider | WatermarkContentProvider | Custom 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>