|
|||||||||
| 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 class. |
|
PictureWatermark(java.io.InputStream stream,
boolean washout)
Initializes a new instance of the PictureWatermark class. |
|
PictureWatermark(java.lang.String filename,
boolean washout)
Initializes a new instance of the PictureWatermark class. |
|
| Method Summary | |
|---|---|
java.awt.image.BufferedImage |
getPicture()
Gets the watermark picture. |
float |
getScaling()
Gets picture scaling in percents. |
boolean |
isWashout()
Gets washout property for Picture watermark. |
void |
isWashout(boolean value)
Sets washout property for Picture watermark. |
void |
setPicture(java.io.InputStream inputStream)
Sets the watermark picture. |
void |
setPicture(java.lang.String filePath)
Sets the watermark picture. |
void |
setScaling(float value)
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, getAncestor, getCharacterFormat, getChildObjects, getOwnerParagraph, getStyleName, isDeleteRevision, isInsertRevision |
| Methods inherited from class com.spire.doc.DocumentObject |
|---|
deepClone, getFirstChild, getLastChild, getNextSibling, getOwner, getPreviousSibling, isComposite, 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 |
| Methods inherited from interface com.spire.doc.documents.IRunAttrSource |
|---|
clearRunAttrs, fetchInheritedRunAttr, getDirectRunAttr, getDirectRunAttrByIndex, getDirectRunAttrsCount, setRunAttr |
| Constructor Detail |
|---|
public PictureWatermark()
PictureWatermark class.
public PictureWatermark(java.lang.String filename,
boolean washout)
PictureWatermark class.
filename - filename for picture watermarkwashout - Is washout property
public PictureWatermark(java.io.InputStream stream,
boolean washout)
PictureWatermark class.
stream - The stream for picture watermark.washout - Is washout property| Method Detail |
|---|
public float getScaling()
public void setScaling(float value)
value - the picture scaling in percents.public boolean isWashout()
public void isWashout(boolean value)
value - a boolean valuepublic java.awt.image.BufferedImage getPicture()
public void setPicture(java.io.InputStream inputStream)
inputStream - The stream of the watermark picture.public void setPicture(java.lang.String filePath)
filePath - The file path of the water picture.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||