|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.spire.doc.OwnerHolder
com.spire.doc.documents.xml.DocumentSerializable
com.spire.doc.DocumentObject
com.spire.doc.DocumentBase
com.spire.doc.fields.ParagraphBase
com.spire.doc.WatermarkBase
com.spire.doc.PictureWatermark
public class PictureWatermark
Constructor Summary | |
---|---|
PictureWatermark()
Initializes a new instance of the |
|
PictureWatermark(java.awt.image.BufferedImage image,
boolean washout)
Initializes a new instance of the |
Method Summary | |
---|---|
java.awt.image.BufferedImage |
getPicture()
Gets or sets the picture. |
float |
getScaling()
Gets or sets picture scaling in percents. |
boolean |
isWashout()
Gets or sets washout property for Picture watermark. |
void |
isWashout(boolean value)
Gets or sets washout property for Picture watermark. |
void |
setPicture(java.awt.image.BufferedImage value)
Gets or sets the picture. |
void |
setPicture(java.io.InputStream imgStream)
Sets the picture. |
void |
setPicture(java.lang.String ImgFile)
Sets the picture. |
void |
setScaling(float value)
Gets or sets picture scaling in percents. |
Methods inherited from class com.spire.doc.WatermarkBase |
---|
getDocumentObjectType, getType |
Methods inherited from class com.spire.doc.fields.ParagraphBase |
---|
applyCharacterFormat, applyStyle, getCharacterFormat, getChildObjects, getDeleteRevision, getInsertRevision, getNextWidgetSibling, getOwnerParagraph, getPreviousWidgetSibling, getStyleName, isDeleteRevision, isInsertRevision |
Methods inherited from class com.spire.doc.DocumentObject |
---|
deepClone, getFirstChild, getLastChild, getNextSibling, getOwner, getPreviousSibling, isComposite, prependChild, toString |
Methods inherited from class com.spire.doc.OwnerHolder |
---|
getDocument |
Methods inherited from interface com.spire.doc.interfaces.IDocumentObject |
---|
deepClone, getDocument, getNextSibling, getOwner, getPreviousSibling, isComposite |
Constructor Detail |
---|
public PictureWatermark()
public PictureWatermark(java.awt.image.BufferedImage image, boolean washout)
image
- Image for picture watermarkwashout
- IsWashout propertyMethod Detail |
---|
public float getScaling()
public void setScaling(float value)
public boolean isWashout()
public void isWashout(boolean value)
public java.awt.image.BufferedImage getPicture()
public void setPicture(java.awt.image.BufferedImage value)
public void setPicture(java.lang.String ImgFile)
ImgFile
- The image file.public void setPicture(java.io.InputStream imgStream)
imgStream
- The img stream.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |