Property Getters/Setters Summary | ||
---|---|---|
function | getCount() | |
function | get(index) | |
Gets the |
||
function | get(name) | |
Gets the |
Method Summary | ||
---|---|---|
function | addActiveXControl(type, topRow, top, leftColumn, left, width, height) | |
Creates an Activex Control.
|
||
function | addArc(upperLeftRow, top, upperLeftColumn, left, height, width) | |
Adds a ArcShape to the worksheet.
|
||
function | addAutoShape(type, upperLeftRow, top, upperLeftColumn, left, height, width) | |
Adds a AutoShape to the worksheet.
|
||
function | addAutoShapeInChart(type, top, left, height, width) | |
Adds a AutoShape to the chart.
|
||
function | addButton(upperLeftRow, top, upperLeftColumn, left, height, width) | |
Adds a Button to the worksheet.
|
||
function | addCheckBox(upperLeftRow, top, upperLeftColumn, left, height, width) | |
Adds a checkbox to the worksheet.
|
||
function | addComboBox(upperLeftRow, top, upperLeftColumn, left, height, width) | |
Adds a ComboBox to the worksheet.
|
||
function | addCopy(sourceShape, topRow, top, leftColumn, left) | |
Adds and copy a shape to the worksheet.
|
||
function | addEquation(topRow, top, leftColumn, left, height, width) | |
Add an equation object to the worksheet.
|
||
function | addFreeFloatingShape(type, top, left, height, width, imageData, isOriginalSize) | |
Adds a free floating shape to the worksheet.Only applies for line/image shape.
|
||
function | addGroupBox(upperLeftRow, top, upperLeftColumn, left, height, width) | |
Adds a GroupBox to the worksheet.
|
||
function | addIcons(upperLeftRow, top, upperLeftColumn, left, height, width, imageByteData, compatibleImageData) | |
Adds svg image.
|
||
function | addLabel(upperLeftRow, top, upperLeftColumn, left, height, width) | |
Adds a Label to the worksheet.
|
||
function | addLabelInChart(top, left, height, width) | |
Adds a label to the chart.
|
||
function | addLine(upperLeftRow, top, upperLeftColumn, left, height, width) | |
Adds a LineShape to the worksheet.
|
||
function | addLinkedPicture(upperLeftRow, upperLeftColumn, height, width, sourceFullName) | |
Add a linked picture.
|
||
function | addListBox(upperLeftRow, top, upperLeftColumn, left, height, width) | |
Adds a ListBox to the worksheet.
|
||
function | addOleObject(upperLeftRow, top, upperLeftColumn, left, height, width, imageData) | |
Adds an OleObject.
|
||
function | addOleObjectWithLinkedImage(upperLeftRow, upperLeftColumn, height, width, sourceFullName) | |
Add a linked picture.
|
||
function | addOval(upperLeftRow, top, upperLeftColumn, left, height, width) | |
Adds a Oval to the worksheet.
|
||
function | addRadioButton(upperLeftRow, top, upperLeftColumn, left, height, width) | |
Adds a RadioButton to the worksheet.
|
||
function | addRectangle(upperLeftRow, top, upperLeftColumn, left, height, width) | |
Adds a RectangleShape to the worksheet.
|
||
function | addScrollBar(upperLeftRow, top, upperLeftColumn, left, height, width) | |
Adds a ScrollBar to the worksheet.
|
||
function | addShape(type, upperLeftRow, top, upperLeftColumn, left, height, width) | |
Adds a Shape to the worksheet.
|
||
function | addShapeInChart(type, placement, left, top, right, bottom) | |
Add a shape to chart .All unit is 1/4000 of chart area.
|
||
function | addShapeInChart(type, placement, left, top, right, bottom, imageData) | |
Add a shape to chart .All unit is 1/4000 of chart area.
|
||
function | addShapeInChartByScale(type, placement, left, top, right, bottom) | |
Add a shape to chart. All unit is percent scale of chart area.
|
||
function | addShapeInChartByScale(type, placement, left, top, right, bottom, imageData) | |
Add a shape to chart .All unit is 1/4000 of chart area.
|
||
function | addSpinner(upperLeftRow, top, upperLeftColumn, left, height, width) | |
Adds a Spinner to the worksheet.
|
||
function | addSvg(upperLeftRow, top, upperLeftColumn, left, height, width, svgData, compatibleImageData) | |
Adds svg image.
|
||
function | addTextBox(upperLeftRow, top, upperLeftColumn, left, height, width) | |
Adds a text box to the worksheet.
|
||
function | addTextBoxInChart(top, left, height, width) | |
Adds a textbox to the chart.
|
||
function | addTextEffect(effect, text, fontName, size, fontBold, fontItalic, upperLeftRow, top, upperLeftColumn, left, height, width) | |
Inserts a WordArt object.
|
||
function | addTextEffectInChart(effect, text, fontName, size, fontBold, fontItalic, top, left, height, width) | |
Inserts a WordArt object to the chart
|
||
function | addWordArt(style, text, upperLeftRow, top, upperLeftColumn, left, height, width) | |
Adds preset WordArt since Excel 2007.s
|
||
function | clear() | |
Clear all shapes in the worksheet.
|
||
function | contains(value) | |
Reserved for internal use. |
||
function | copyCommentsInRange(shapes, ca, destRow, destColumn) | |
Copy all comments in the range.
|
||
function | copyInRange(sourceShapes, ca, destRow, destColumn, isContained) | |
Copy shapes in the range to destination range.
|
||
function | deleteInRange(ca) | |
Delete shapes in the range.Comment shapes will not be deleted.
|
||
function | deleteShape(shape) | |
Delete a shape. If the shape is in the group or is a comment shape, it will not be deleted.
|
||
function | get(index) | |
Reserved for internal use. |
||
function | group(groupItems) | |
Group the shapes.
|
||
function | indexOf(value) | |
Reserved for internal use. |
||
function | iterator() | |
function | remove(shape) | |
Remove the shape.
|
||
function | removeAt(index) | |
Remove the shape.
|
||
function | ungroup(group) | |
Ungroups the shape items.
|
||
function | updateSelectedValue() | |
Update the selected value by the value of the linked cell or range of the shape.
|
function getCount()
function get(index)
function get(name)
function addCopy(sourceShape, topRow, top, leftColumn, left)
sourceShape: Shape
- Source shape.topRow: Number
- The top row index.top: Number
- Represents the vertical offset from its top row, in unit of pixel. leftColumn: Number
- The left column index.left: Number
- Represents the horizontal offset from its left column, in unit of pixel. function addCheckBox(upperLeftRow, top, upperLeftColumn, left, height, width)
upperLeftRow: Number
- Upper left row index.top: Number
- Represents the vertical offset of checkbox from its top row, in unit of pixel. upperLeftColumn: Number
- Upper left column index.left: Number
- Represents the horizontal offset of textbox from its left column, in unit of pixel. height: Number
- Height of textbox, in unit of pixel.width: Number
- Width of textbox, in unit of pixel.function addTextBox(upperLeftRow, top, upperLeftColumn, left, height, width)
upperLeftRow: Number
- Upper left row index.top: Number
- Represents the vertical offset of textbox from its top row, in unit of pixel. upperLeftColumn: Number
- Upper left column index.left: Number
- Represents the horizontal offset of textbox from its left column, in unit of pixel. height: Number
- Represents the height of textbox, in unit of pixel. width: Number
- Represents the width of textbox, in unit of pixel. function addEquation(topRow, top, leftColumn, left, height, width)
topRow: Number
- The top row index.top: Number
- The vertical offset its top row, in unit of pixel.leftColumn: Number
- The left column index.left: Number
- The horizontal offset from its left column, in unit of pixel.height: Number
- The height of equation, in unit of pixel.width: Number
- The width of equation, in unit of pixel.function addSpinner(upperLeftRow, top, upperLeftColumn, left, height, width)
upperLeftRow: Number
- Upper left row index.top: Number
- Represents the vertical offset of Spinner from its left row, in unit of pixel. upperLeftColumn: Number
- Upper left column index.left: Number
- Represents the horizontal offset of Spinner from its left column, in unit of pixel. height: Number
- Represents the height of Spinner, in unit of pixel. width: Number
- Represents the width of Spinner, in unit of pixel. function addScrollBar(upperLeftRow, top, upperLeftColumn, left, height, width)
upperLeftRow: Number
- Upper left row index.top: Number
- Represents the vertical offset of ScrollBar from its left row, in unit of pixel. upperLeftColumn: Number
- Upper left column index.left: Number
- Represents the horizontal offset of ScrollBar from its left column, in unit of pixel. height: Number
- Represents the height of ScrollBar, in unit of pixel. width: Number
- Represents the width of ScrollBar, in unit of pixel. function addRadioButton(upperLeftRow, top, upperLeftColumn, left, height, width)
upperLeftRow: Number
- Upper left row index.top: Number
- Represents the vertical offset of RadioButton from its left row, in unit of pixel. upperLeftColumn: Number
- Upper left column index.left: Number
- Represents the horizontal offset of RadioButton from its left column, in unit of pixel. height: Number
- Represents the height of RadioButton, in unit of pixel. width: Number
- Represents the width of RadioButton, in unit of pixel. function addListBox(upperLeftRow, top, upperLeftColumn, left, height, width)
upperLeftRow: Number
- Upper left row index.top: Number
- Represents the vertical offset of ListBox from its left row, in unit of pixel. upperLeftColumn: Number
- Upper left column index.left: Number
- Represents the horizontal offset of ListBox from its left column, in unit of pixel. height: Number
- Represents the height of ListBox, in unit of pixel. width: Number
- Represents the width of ListBox, in unit of pixel. function addComboBox(upperLeftRow, top, upperLeftColumn, left, height, width)
upperLeftRow: Number
- Upper left row index.top: Number
- Represents the vertical offset of ComboBox from its left row, in unit of pixel. upperLeftColumn: Number
- Upper left column index.left: Number
- Represents the horizontal offset of ComboBox from its left column, in unit of pixel. height: Number
- Represents the height of ComboBox, in unit of pixel. width: Number
- Represents the width of ComboBox, in unit of pixel. function addGroupBox(upperLeftRow, top, upperLeftColumn, left, height, width)
upperLeftRow: Number
- Upper left row index.top: Number
- Represents the vertical offset of GroupBox from its left row, in unit of pixel. upperLeftColumn: Number
- Upper left column index.left: Number
- Represents the horizontal offset of GroupBox from its left column, in unit of pixel. height: Number
- Represents the height of GroupBox, in unit of pixel. width: Number
- Represents the width of GroupBox, in unit of pixel. function addButton(upperLeftRow, top, upperLeftColumn, left, height, width)
upperLeftRow: Number
- Upper left row index.top: Number
- Represents the vertical offset of Button from its left row, in unit of pixel. upperLeftColumn: Number
- Upper left column index.left: Number
- Represents the horizontal offset of Button from its left column, in unit of pixel. height: Number
- Represents the height of Button, in unit of pixel. width: Number
- Represents the width of Button, in unit of pixel. function addLabel(upperLeftRow, top, upperLeftColumn, left, height, width)
upperLeftRow: Number
- Upper left row index.top: Number
- Represents the vertical offset of Label from its left row, in unit of pixel. upperLeftColumn: Number
- Upper left column index.left: Number
- Represents the horizontal offset of Label from its left column, in unit of pixel. height: Number
- Represents the height of Label, in unit of pixel. width: Number
- Represents the width of Label, in unit of pixel. function addLabelInChart(top, left, height, width)
top: Number
- Represents the vertical offset of label from the upper left corner in units of 1/4000 of the chart area. left: Number
- Represents the vertical offset of label from the upper left corner in units of 1/4000 of the chart area.height: Number
- Represents the height of label, in units of 1/4000 of the chart area.width: Number
- Represents the width of label, in units of 1/4000 of the chart area.function addTextBoxInChart(top, left, height, width)
top: Number
- Represents the vertical offset of textbox from the upper left corner in units of 1/4000 of the chart area. left: Number
- Represents the vertical offset of textbox from the upper left corner in units of 1/4000 of the chart area.height: Number
- Represents the height of textbox, in units of 1/4000 of the chart area.width: Number
- Represents the width of textbox, in units of 1/4000 of the chart area.function addTextEffectInChart(effect, text, fontName, size, fontBold, fontItalic, top, left, height, width)
effect: Number
- A text: String
- The WordArt text.fontName: String
- The font name.size: Number
- The font sizefontBold: boolean
- Indicates whether font is bold.fontItalic: boolean
- Indicates whether font is italic.top: Number
- Represents the vertical offset of shape from the upper left corner in units of 1/4000 of the chart area. left: Number
- Represents the vertical offset of shape from the upper left corner in units of 1/4000 of the chart area.height: Number
- Represents the height of shape, in units of 1/4000 of the chart area.width: Number
- Represents the width of shape, in units of 1/4000 of the chart area.function addTextEffect(effect, text, fontName, size, fontBold, fontItalic, upperLeftRow, top, upperLeftColumn, left, height, width)
effect: Number
- A text: String
- The WordArt text.fontName: String
- The font name.size: Number
- The font sizefontBold: boolean
- Indicates whether font is bold.fontItalic: boolean
- Indicates whether font is italic.upperLeftRow: Number
- Upper left row index.top: Number
- Represents the vertical offset of shape from its left row, in unit of pixel. upperLeftColumn: Number
- Upper left column index.left: Number
- Represents the horizontal offset of shape from its left column, in unit of pixel. height: Number
- Represents the height of shape, in unit of pixel. width: Number
- Represents the width of shape, in unit of pixel. function addWordArt(style, text, upperLeftRow, top, upperLeftColumn, left, height, width)
style: Number
- A text: String
- The text.upperLeftRow: Number
- Upper left row index.top: Number
- Represents the vertical offset of shape from its left row, in unit of pixel. upperLeftColumn: Number
- Upper left column index.left: Number
- Represents the horizontal offset of shape from its left column, in unit of pixel. height: Number
- Represents the height of shape, in unit of pixel. width: Number
- Represents the width of shape, in unit of pixel. function addRectangle(upperLeftRow, top, upperLeftColumn, left, height, width)
upperLeftRow: Number
- Upper left row index.top: Number
- Represents the vertical offset of RectangleShape from its left row, in unit of pixel. upperLeftColumn: Number
- Upper left column index.left: Number
- Represents the horizontal offset of RectangleShape from its left column, in unit of pixel. height: Number
- Represents the height of RectangleShape, in unit of pixel. width: Number
- Represents the width of RectangleShape, in unit of pixel. function addOval(upperLeftRow, top, upperLeftColumn, left, height, width)
upperLeftRow: Number
- Upper left row index.top: Number
- Represents the vertical offset of Oval from its left row, in unit of pixel. upperLeftColumn: Number
- Upper left column index.left: Number
- Represents the horizontal offset of Oval from its left column, in unit of pixel. height: Number
- Represents the height of Oval, in unit of pixel. width: Number
- Represents the width of Oval, in unit of pixel. function addLine(upperLeftRow, top, upperLeftColumn, left, height, width)
upperLeftRow: Number
- Upper left row index.top: Number
- Represents the vertical offset of LineShape from its left row, in unit of pixel. upperLeftColumn: Number
- Upper left column index.left: Number
- Represents the horizontal offset of LineShape from its left column, in unit of pixel. height: Number
- Represents the height of LineShape, in unit of pixel. width: Number
- Represents the width of LineShape, in unit of pixel. function addFreeFloatingShape(type, top, left, height, width, imageData, isOriginalSize)
type: Number
- A top: Number
- Represents the vertical offset of shape from the worksheet's top row, in unit of pixel.left: Number
- Represents the horizontal offset of shape from the worksheet's left column, in unit of pixel.height: Number
- Represents the height of LineShape, in unit of pixel. width: Number
- Represents the width of LineShape, in unit of pixel. imageData: byte[]
- The image data,only applies for the picture.isOriginalSize: boolean
- Whether the shape use original size if the shape is image.function addShapeInChart(type, placement, left, top, right, bottom, imageData)
type: Number
- A placement: Number
- A left: Number
- In unit of 1/4000 chart area width.top: Number
- In unit of 1/4000 chart area height.right: Number
- In unit of 1/4000 chart area width.bottom: Number
- In unit of 1/4000 chart area height.imageData: byte[]
- If the shape is not a picture or ole object,imageData should be null.function addShapeInChart(type, placement, left, top, right, bottom)
type: Number
- A placement: Number
- A left: Number
- In unit of 1/4000 chart area width.top: Number
- In unit of 1/4000 chart area height.right: Number
- In unit of 1/4000 chart area width.bottom: Number
- In unit of 1/4000 chart area height.function addShapeInChartByScale(type, placement, left, top, right, bottom)
type: Number
- A placement: Number
- A left: Number
- Unit is percent scale of chart area width.top: Number
- Unit is percent scale of chart area height.right: Number
- Unit is percent scale of chart area width.bottom: Number
- Unit is percent scale of chart area height.function addShapeInChartByScale(type, placement, left, top, right, bottom, imageData)
type: Number
- A placement: Number
- A left: Number
- Unit is percent scale of chart area width.top: Number
- Unit is percent scale of chart area height.right: Number
- Unit is percent scale of chart area width.bottom: Number
- Unit is percent scale of chart area height.imageData: byte[]
- If the shape is not a picture or ole object,imageData should be null.function addArc(upperLeftRow, top, upperLeftColumn, left, height, width)
upperLeftRow: Number
- Upper left row index.top: Number
- Represents the vertical offset of ArcShape from its left row, in unit of pixel. upperLeftColumn: Number
- Upper left column index.left: Number
- Represents the horizontal offset of ArcShape from its left column, in unit of pixel. height: Number
- Represents the height of ArcShape, in unit of pixel. width: Number
- Represents the width of ArcShape, in unit of pixel. function addShape(type, upperLeftRow, top, upperLeftColumn, left, height, width)
type: Number
- A upperLeftRow: Number
- Upper left row index.top: Number
- Represents the vertical offset of Shape from its left row, in unit of pixel. upperLeftColumn: Number
- Upper left column index.left: Number
- Represents the horizontal offset of Shape from its left column, in unit of pixel. height: Number
- Represents the height of Shape, in unit of pixel. width: Number
- Represents the width of Shape, in unit of pixel. function addAutoShape(type, upperLeftRow, top, upperLeftColumn, left, height, width)
type: Number
- A upperLeftRow: Number
- Upper left row index.top: Number
- Represents the vertical offset of Shape from its left row, in unit of pixel. upperLeftColumn: Number
- Upper left column index.left: Number
- Represents the horizontal offset of Shape from its left column, in unit of pixel. height: Number
- Represents the height of Shape, in unit of pixel. width: Number
- Represents the width of Shape, in unit of pixel. function addAutoShapeInChart(type, top, left, height, width)
type: Number
- A top: Number
- Represents the vertical offset of textbox from the upper left corner in units of 1/4000 of the chart area. left: Number
- Represents the vertical offset of textbox from the upper left corner in units of 1/4000 of the chart area.height: Number
- Represents the height of textbox, in units of 1/4000 of the chart area.width: Number
- Represents the width of textbox, in units of 1/4000 of the chart area.function addActiveXControl(type, topRow, top, leftColumn, left, width, height)
type: Number
- A topRow: Number
- Upper left row index.top: Number
- Represents the vertical offset of Shape from its left row, in unit of pixel. leftColumn: Number
- Upper left column index.left: Number
- Represents the horizontal offset of Shape from its left column, in unit of pixel. height: Number
- Represents the height of Shape, in unit of pixel. width: Number
- Represents the width of Shape, in unit of pixel. function addSvg(upperLeftRow, top, upperLeftColumn, left, height, width, svgData, compatibleImageData)
upperLeftRow: Number
- Upper left row index.top: Number
- Represents the vertical offset of shape from its left row, in unit of pixel. upperLeftColumn: Number
- Upper left column index.left: Number
- The horizontal offset of shape from its left column, in unit of pixel. height: Number
- The height of shape, in unit of pixel. width: Number
- The width of shape, in unit of pixel. svgData: byte[]
- The svg image data.compatibleImageData: byte[]
- Converted image data from svg in order to be compatible with Excel 2016 or lower versions.function addIcons(upperLeftRow, top, upperLeftColumn, left, height, width, imageByteData, compatibleImageData)
upperLeftRow: Number
- Upper left row index.top: Number
- Represents the vertical offset of shape from its left row, in unit of pixel. upperLeftColumn: Number
- Upper left column index.left: Number
- The horizontal offset of shape from its left column, in unit of pixel. height: Number
- The height of shape, in unit of pixel. width: Number
- The width of shape, in unit of pixel. imageByteData: byte[]
- The image byte data.compatibleImageData: byte[]
- Converted image data from svg in order to be compatible with Excel 2016 or lower versions.function addLinkedPicture(upperLeftRow, upperLeftColumn, height, width, sourceFullName)
upperLeftRow: Number
- Upper left row index.upperLeftColumn: Number
- Upper left column index.height: Number
- The height of the shape. In unit of pixelswidth: Number
- The width of the shape. In unit of pixelssourceFullName: String
-
The path and name of the source file for the linked imagefunction addOleObjectWithLinkedImage(upperLeftRow, upperLeftColumn, height, width, sourceFullName)
upperLeftRow: Number
- Upper left row index.upperLeftColumn: Number
- Upper left column index.height: Number
- The height of the shape. In unit of pixelswidth: Number
- The width of the shape. In unit of pixelssourceFullName: String
-
The path and name of the source file for the linked imagefunction addOleObject(upperLeftRow, top, upperLeftColumn, left, height, width, imageData)
upperLeftRow: Number
- top: Number
- upperLeftColumn: Number
- left: Number
- height: Number
- width: Number
- imageData: byte[]
- function copyCommentsInRange(shapes, ca, destRow, destColumn)
shapes: ShapeCollection
- The source shapes.ca: CellArea
- The source range.destRow: Number
- The dest range start row.destColumn: Number
- The dest range start column.function copyInRange(sourceShapes, ca, destRow, destColumn, isContained)
sourceShapes: ShapeCollection
- Source shapes.ca: CellArea
- The source range.destRow: Number
- The dest row index of the dest range.destColumn: Number
- The dest column of the dest range.isContained: boolean
- Whether only copy the shapes which are contained in the range.
If true,only copies the shapes in the range.
Otherwise,it works as MS Office.function deleteInRange(ca)
ca: CellArea
- The range.If the shapes are contained in the range, they will be removed.function deleteShape(shape)
shape: Shape
- function group(groupItems)
groupItems: Shape[]
- the group items.function ungroup(group)
group: GroupShape
- The group shape.function removeAt(index)
index: Number
- The index of the shape.function remove(shape)
shape: Shape
- function clear()
function updateSelectedValue()
function iterator()
function get(index)
function contains(value)
function indexOf(value)