Back to Website
Show / Hide Table of Contents

Interface IWatermarkTextConfig

A configuration of watermark text.

Package: @aurigma/design-editor-iframe
Remarks

IWatermarkConfig uses this interface.

Examples
configuration = {
   watermark: {
       text: {
           text: "watermark",
           fontSettings: {
               postScriptName: "LucidaSans-Italic",
               size: 14,
               fauxBold: false,
               fauxItalic: false
           },
           scale: 0.28,
           opacity: 0.5
       },
       visibility: {
           proof: true,
           canvas: true
       }
   }
};

Properties

fontSettings

The font settings of watermark text.

Declaration
fontSettings?: IFontSettings;
Property Value
Type Description
IFontSettings

The font settings of watermark text.

opacity

The opacity of watermark text. The default value is 0.1.

Declaration
opacity?: number;
Property Value
Type Description
number

The opacity of watermark text. The default value is 0.1.

scale

The scale of watermark text. The default value is 0.28.

Declaration
scale?: number;
Property Value
Type Description
number

The scale of watermark text. The default value is 0.28.

text

The text of the watermark.

Declaration
text?: string;
Property Value
Type Description
string

The text of the watermark.

Was this page helpful?
Thanks for your feedback!
Back to top Copyright © 2001–2025 Aurigma, Inc. All rights reserved.
Loading...
    Thank for your vote
    Your opinion is important to us. To provide details, send feedback.
    Send feedback