ipictureshape-ag凯发旗舰厅
com.spire.xls.core
interface ipictureshape
- all superinterfaces:
- ishape
- all known implementing classes:
- excelpicture, xlsbitmapshape
public interface ipictureshape
- extends ishape
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 |
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).