接口 IContainer
- 所有已知子接口:
IBackgroundPicture
,IShape
public interface IContainer
Represents a floating container in a sheet.
-
方法概要
修饰符和类型方法说明double
Gets the height of the object.double
Gets the height (in pixels) of the object.double
getLeft()
Gets the distance from the left edge of the object to the left edge of column A (on a worksheet) or the left edge of the chart area (on a chart).double
Gets the distance (in pixels) from the left edge of the object to the left edge of column A (on a worksheet) or the left edge of the chart area (on a chart).double
getTop()
Gets the distance from the top edge of the topmost shape in the shape range to the top edge of the worksheet.double
Gets the distance (in pixels) from the top edge of the topmost shape in the shape range to the top edge of the worksheet.double
getWidth()
Gets the width of the object.double
Gets the width (in pixels) of the object.void
setHeight
(double value) Sets the height of the object.void
setHeightInPixel
(double value) Sets the height (in pixels) of the object.void
setLeft
(double value) Sets the distance from the left edge of the object to the left edge of column A (on a worksheet) or the left edge of the chart area (on a chart).void
setLeftInPixel
(double value) Sets the distance (in pixels) from the left edge of the object to the left edge of column A (on a worksheet) or the left edge of the chart area (on a chart).void
setTop
(double value) Sets the distance from the top edge of the topmost shape in the shape range to the top edge of the worksheet.void
setTopInPixel
(double value) Sets the distance (in pixels) from the top edge of the topmost shape in the shape range to the top edge of the worksheet.void
setWidth
(double value) Sets the width of the object.void
setWidthInPixel
(double value) Sets the width (in pixels) of the object.
-
方法详细资料
-
getTop
double getTop()Gets the distance from the top edge of the topmost shape in the shape range to the top edge of the worksheet. -
setTop
void setTop(double value) Sets the distance from the top edge of the topmost shape in the shape range to the top edge of the worksheet. -
getLeft
double getLeft()Gets the distance from the left edge of the object to the left edge of column A (on a worksheet) or the left edge of the chart area (on a chart). -
setLeft
void setLeft(double value) Sets the distance from the left edge of the object to the left edge of column A (on a worksheet) or the left edge of the chart area (on a chart). -
getWidth
double getWidth()Gets the width of the object. -
setWidth
void setWidth(double value) Sets the width of the object. -
getHeight
double getHeight()Gets the height of the object. -
setHeight
void setHeight(double value) Sets the height of the object. -
getTopInPixel
double getTopInPixel()Gets the distance (in pixels) from the top edge of the topmost shape in the shape range to the top edge of the worksheet. -
setTopInPixel
void setTopInPixel(double value) Sets the distance (in pixels) from the top edge of the topmost shape in the shape range to the top edge of the worksheet. -
getLeftInPixel
double getLeftInPixel()Gets the distance (in pixels) from the left edge of the object to the left edge of column A (on a worksheet) or the left edge of the chart area (on a chart). -
setLeftInPixel
void setLeftInPixel(double value) Sets the distance (in pixels) from the left edge of the object to the left edge of column A (on a worksheet) or the left edge of the chart area (on a chart). -
getWidthInPixel
double getWidthInPixel()Gets the width (in pixels) of the object. -
setWidthInPixel
void setWidthInPixel(double value) Sets the width (in pixels) of the object. -
getHeightInPixel
double getHeightInPixel()Gets the height (in pixels) of the object. -
setHeightInPixel
void setHeightInPixel(double value) Sets the height (in pixels) of the object.
-