com.spire.xls.core.spreadsheet.collections
Class TextBoxCollection
java.lang.Object
com.spire.ms.System.Collections.CollectionBase
com.spire.xls.core.spreadsheet.collections.CollectionExtended
com.spire.xls.core.spreadsheet.collections.TextBoxCollection
- All Implemented Interfaces:
- com.spire.ms.System.Collections.ICollection, com.spire.ms.System.Collections.IEnumerable, ITextBoxes, java.lang.Iterable
public class TextBoxCollection
- extends CollectionExtended
- implements ITextBoxes
TextBoxCollection
public TextBoxCollection(java.lang.Object parent)
getCount
public int getCount()
- Specified by:
getCount
in interface ITextBoxes
get
public ITextBoxLinkShape get(int index)
- Returns single item from the collection.
- Specified by:
get
in interface ITextBoxes
- Parameters:
index
- Index of the item to get.
- Returns:
- Single item from the collection.
get
public ITextBoxLinkShape get(java.lang.String name)
- Gets single item from the collection.
- Specified by:
get
in interface ITextBoxes
- Parameters:
name
- Name of the item to get.
- Returns:
- Single item from the collection.
addCopy
public void addCopy(ITextBoxLinkShape textboxsource)
addTextBox
public ITextBoxLinkShape addTextBox(int row,
int column,
int height,
int width)
- Adds new textbox to the collection.
- Specified by:
addTextBox
in interface ITextBoxes
- Parameters:
row
- Top row for the new shape.column
- Left column for the new shape.height
- Height in pixels of the new shape.width
- Width in pixels of the new shape.
- Returns:
- Newly created TextBox object.