com.aspose.words
Class ImageWatermarkOptions

java.lang.Object
    extended by com.aspose.words.ImageWatermarkOptions

public class ImageWatermarkOptions 
extends java.lang.Object

Contains options that can be specified when adding a watermark with image.

Constructor Summary
ImageWatermarkOptions()
          
 
Property Getters/Setters Summary
booleanisWashout()
voidisWashout(boolean value)
           Gets or sets a boolean value which is responsible for washout effect of the watermark. The default value is
true
.
doublegetScale()
voidsetScale(double value)
           Gets or sets the scale factor expressed as a fraction of the image. The default value is 0 - auto.
 

Constructor Detail

ImageWatermarkOptions

public ImageWatermarkOptions()

Property Getters/Setters Detail

isWashout/isWashout

public boolean isWashout() / public void isWashout(boolean value)
Gets or sets a boolean value which is responsible for washout effect of the watermark. The default value is
true
.

getScale/setScale

public double getScale() / public void setScale(double value)
Gets or sets the scale factor expressed as a fraction of the image. The default value is 0 - auto.

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:
          Aspose.Words Documentation - the home page for the Aspose.Words Product Documentation.
          Aspose.Words Support Forum - our preferred method of support.