ipictureshape-ag凯发旗舰厅



com.spire.xls.core
interface ipictureshape

all superinterfaces:
ishape
all known implementing classes:
excelpicture, xlsbitmapshape

public interface ipictureshape
extends ishape

method summary
 java.awt.color getcolorfrom()
           
 java.awt.color getcolorto()
           
 java.lang.string getfilename()
           
 ishapefill getfill()
           
 ishapelineformat getline()
           
 java.awt.image.bufferedimage getpicture()
           
 void remove(boolean removeimage)
          removes shape from the collection.
 void setcolorfrom(java.awt.color value)
           
 void setcolorto(java.awt.color value)
           
 
methods inherited from interface com.spire.xls.core.ishape
getalternativetext, getheight, gethtmlstring, getid, getleft, getname, getonaction, getresizebehave, getrotation, getshadow, getshapetype, getthreed, gettop, getvisible, getwidth, islockaspectratio, islockaspectratio, islocked, islocked, isprintable, isprintable, remove, scale, setheight, sethtmlstring, setname, setonaction, setresizebehave, setrotation, settop, setvisible, setwidth
 
method detail

getfilename

java.lang.string getfilename()

getpicture

java.awt.image.bufferedimage getpicture()

getcolorfrom

java.awt.color getcolorfrom()

setcolorfrom

void setcolorfrom(java.awt.color value)

getcolorto

java.awt.color getcolorto()

setcolorto

void setcolorto(java.awt.color value)

getfill

ishapefill getfill()
specified by:
getfill in interface ishape

getline

ishapelineformat getline()

remove

void remove(boolean removeimage)
removes shape from the collection.
parameters:
removeimage - removes image that is referenced by this shape from collection too, if we didn't detect image usage. xls doesn't detect this situation correctly in all cases if there are shapes in charts in excel 2007 or if some image shapes are grouped in any excel version. if you are not sure whether image is referenced in charts or grouped shapes and you are working with excel 2007 version, set this argument to true (this could cause file size increase, but will keep document in the correct state).


网站地图