scale property

ImageWatermarkOptions.scale property

Gets or sets the scale factor expressed as a fraction of the image. The default value is 0 - auto.

get scale(): number

Exceptions

exceptioncondition
RuntimeError (Proxy error(ArgumentOutOfRangeException))Throws when argument was out of the range of valid values.

Remarks

Valid values range from 0 to 65.5 inclusive.

Auto scale means that the watermark will be scaled to its max width and max height relative to the page margins.

See Also