background-ag凯发旗舰厅



com.spire.doc
class background

java.lang.object
  extended by com.spire.doc.ownerholder
      extended by com.spire.doc.documents.xml.documentserializable
          extended by com.spire.doc.background

public class background
extends documentserializable

method summary
 java.awt.color getcolor()
          gets background color.
 java.lang.object getdirectshapeattribute(int key)
          reserved for system use.
 backgroundgradient getgradient()
          gets background gradient.
 java.lang.object getinheritedshapeattribute(int key)
          reserved for system use.
 java.awt.image.bufferedimage getpicture()
          gets background picture.
 java.lang.object getshapeattribute(int key)
          reserved for system use.
 backgroundtype gettype()
          gets the type of background for document.
 boolean haskey(int key)
           
 void removeshapeattribute(int key)
          reserved for system use.
 void setcolor(java.awt.color value)
          sets background color.
 void setpicture(java.io.inputstream inputstream)
          sets background picture.
 void setpicture(java.lang.string filepath)
          sets background picture.
 void setshapeattr(int key, java.lang.object value)
          reserved for system use.
 void setshapeattribute(int key, java.lang.object value)
          reserved for system use.
 void settype(backgroundtype value)
          sets the type of background for document.
 
methods inherited from class com.spire.doc.ownerholder
getdocument
 
method detail

gettype

public backgroundtype gettype()
gets the type of background for document.

settype

public void settype(backgroundtype value)
sets the type of background for document.

getpicture

public java.awt.image.bufferedimage getpicture()
gets background picture.

setpicture

public void setpicture(java.io.inputstream inputstream)
sets background picture.
parameters:
inputstream - the file input stream

setpicture

public void setpicture(java.lang.string filepath)
sets background picture.
parameters:
filepath - the file path

getcolor

public java.awt.color getcolor()
gets background color.

setcolor

public void setcolor(java.awt.color value)
sets background color.

getgradient

public backgroundgradient getgradient()
gets background gradient.

getdirectshapeattribute

public java.lang.object getdirectshapeattribute(int key)
reserved for system use. ishapeattrsource.

getinheritedshapeattribute

public java.lang.object getinheritedshapeattribute(int key)
reserved for system use. ishapeattrsource.

getshapeattribute

public java.lang.object getshapeattribute(int key)
reserved for system use. ishapeattrsource.

setshapeattribute

public void setshapeattribute(int key,
                              java.lang.object value)
reserved for system use. ishapeattrsource.

setshapeattr

public void setshapeattr(int key,
                         java.lang.object value)
reserved for system use. ishapeattrsource.

removeshapeattribute

public void removeshapeattribute(int key)
reserved for system use. ishapeattrsource.

haskey

public boolean haskey(int key)


网站地图