Interface IBackgroundPicture
- All Superinterfaces:
IContainer,IShape
表示一个将被用作背景图片的图片对象。Shape对象是
IBackgroundPictures集合的一个成员。背景图片集合包含了幻灯片上的所有背景图片。-
Method Summary
Modifier and TypeMethodDescription获取一个值,该值描述如何拉伸图像以填充目标矩形。int获取一个值,描述矩形裁切角的圆润程度,单位为像素。double获取指定图片的透明度,其值从 0.0(不透明)到 1.0(透明)。void设置一个值,描述如何拉伸图像以填充目标矩形。voidsetCornerRadius(int value) 设置一个值,描述矩形裁切角的圆润程度,单位为像素。voidsetTransparency(double value) 设置指定图片的透明度,值从 0.0(不透明)到 1.0(透明)。Methods inherited from interface com.grapecity.documents.excel.drawing.IContainer
getHeight, getHeightInPixel, getLeft, getLeftInPixel, getTop, getTopInPixel, getWidth, getWidthInPixel, setHeight, setHeightInPixel, setLeft, setLeftInPixel, setTop, setTopInPixel, setWidth, setWidthInPixelMethods inherited from interface com.grapecity.documents.excel.drawing.IShape
delete, duplicate, fromJson, getAdjustments, getAlternativeText, getAutoShapeType, getBottomRightCell, getChart, getConnector, getConnectorFormat, getControl, getDecorative, getFill, getFormula, getGroupItems, getHasChart, getHyperlink, getIsPrintable, getLine, getLocked, getName, getParent, getParentGroup, getPictureFormat, getPlacement, getRotation, getTextFrame, getThreeD, getTitle, getTopLeftCell, getType, getVisible, getZOrderPosition, setAlternativeText, setAutoShapeType, setDecorative, setFormula, setIsPrintable, setLocked, setName, setPlacement, setRotation, setTitle, setVisible, toImage, toImage, toImage, toImage, toJson, ungroup, zOrder
-
Method Details
-
getTransparency
double getTransparency()获取指定图片的透明度,其值从 0.0(不透明)到 1.0(透明)。 -
setTransparency
void setTransparency(double value) 设置指定图片的透明度,值从 0.0(不透明)到 1.0(透明)。 -
getBackgroundImageLayout
ImageLayout getBackgroundImageLayout()获取一个值,该值描述如何拉伸图像以填充目标矩形。 -
setBackgroundImageLayout
设置一个值,描述如何拉伸图像以填充目标矩形。 -
getCornerRadius
int getCornerRadius()获取一个值,描述矩形裁切角的圆润程度,单位为像素。 -
setCornerRadius
void setCornerRadius(int value) 设置一个值,描述矩形裁切角的圆润程度,单位为像素。
-