xlsbitmapshape-ag凯发旗舰厅
com.spire.xls.core.spreadsheet.shapes
class xlsbitmapshape
java.lang.object
com.spire.xls.core.spreadsheet.xlsobject
com.spire.xls.core.spreadsheet.shapes.xlsshape
com.spire.xls.core.spreadsheet.shapes.xlsbitmapshape
- all implemented interfaces:
- ipictureshape, ishape
- direct known subclasses:
- excelpicture
public class xlsbitmapshape
- extends xlsshape
- implements ipictureshape
methods inherited from class com.spire.xls.core.spreadsheet.shapes.xlsshape |
deepclone, deepclone, getalternativetext, getalternativetexttitle, getautosize, getbottomrow, getbottomrowoffset, getfill, getheight, gethtmlstring, getid, getleft, getleftcolumn, getleftcolumnoffset, getline, getname, getonaction, getresizebehave, getrightcolumn, getrightcolumnoffset, getrotation, getshadow, getshapeid, getthreed, gettop, gettoprow, gettoprowoffset, getupdatepositions, getvisible, getvmlshape, getwidth, hasfill, hasfill, haslineformat, haslineformat, isfliph, isfliph, isflipv, isflipv, isgroup, islockaspectratio, islockaspectratio, islocked, islocked, isprintable, isprintable, isrelative, isrelative, remove, scale, setalternativetext, setalternativetexttitle, setautosize, setbottomrow, setbottomrowoffset, setheight, sethtmlstring, setleft, setleftcolumn, setleftcolumnoffset, setname, setonaction, setresizebehave, setrightcolumn, setrightcolumnoffset, setrotation, setshapetype, settop, settoprow, settoprowoffset, setupdatepositions, setvisible, setwidth |
methods inherited from interface com.spire.xls.core.ishape |
getalternativetext, getheight, gethtmlstring, getid, getleft, getname, getonaction, getresizebehave, getrotation, getshadow, getthreed, gettop, getvisible, getwidth, islockaspectratio, islockaspectratio, islocked, islocked, isprintable, isprintable, remove, scale, setheight, sethtmlstring, setname, setonaction, setresizebehave, setrotation, settop, setvisible, setwidth |
xlsbitmapshape
public xlsbitmapshape(java.lang.object parent)
remove
public void remove(boolean removeimage)
- description copied from interface:
ipictureshape
- removes shape from the collection.
- specified by:
remove
in interface ipictureshape
- 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).
getblipid
public long getblipid()
- blip id.
- returns:
- long
getcolorto
public java.awt.color getcolorto()
- specified by:
getcolorto
in interface ipictureshape
setcolorto
public void setcolorto(java.awt.color value)
- specified by:
setcolorto
in interface ipictureshape
getrefrange
public java.lang.string getrefrange()
setrefrange
public void setrefrange(java.lang.string value)
isdde
public boolean isdde()
isdde
public void isdde(boolean value)
iscamera
public boolean iscamera()
iscamera
public void iscamera(boolean value)
getcolorfrom
public java.awt.color getcolorfrom()
- specified by:
getcolorfrom
in interface ipictureshape
setcolorfrom
public void setcolorfrom(java.awt.color value)
- specified by:
setcolorfrom
in interface ipictureshape
getfilename
public java.lang.string getfilename()
- specified by:
getfilename
in interface ipictureshape
setfilename
public void setfilename(java.lang.string value)
getpicture
public java.awt.image.bufferedimage getpicture()
- specified by:
getpicture
in interface ipictureshape
setpicture
public void setpicture(java.awt.image.bufferedimage image)
getcropleftoffset
public int getcropleftoffset()
setcropleftoffset
public void setcropleftoffset(int value)
getcroprightoffset
public int getcroprightoffset()
setcroprightoffset
public void setcroprightoffset(int value)
getcropbottomoffset
public int getcropbottomoffset()
setcropbottomoffset
public void setcropbottomoffset(int value)
getcroptopoffset
public int getcroptopoffset()
setcroptopoffset
public void setcroptopoffset(int value)
getmacro
public java.lang.string getmacro()
setmacro
public void setmacro(java.lang.string value)
getshapetype
public excelshapetype getshapetype()
- description copied from class:
xlsshape
- type of shape , read only.
- specified by:
getshapetype
in interface ishape
- overrides:
getshapetype
in class xlsshape
dispose
public void dispose()
- description copied from class:
xlsobject
- dispose object and free resources.
- overrides:
dispose
in class xlsobject
sethyperlink
public void sethyperlink(java.lang.string linkstring,
boolean isexternal)