com.spire.doc.collections
Class TextBoxItemCollection
java.lang.Object
com.spire.doc.OwnerHolder
com.spire.doc.collections.CollectionEx
com.spire.doc.documents.xml.DocumentSerializableCollection
com.spire.doc.collections.DocumentObjectCollection
com.spire.doc.collections.TextBoxItemCollection
- All Implemented Interfaces:
- ICollectionBase, IDocumentObjectCollection, ITextBoxItemCollection, IXDLSSerializableCollection, java.lang.Iterable
public class TextBoxItemCollection
- extends DocumentObjectCollection
- implements ITextBoxItemCollection
Represents a collection of TextBox
objects.
TextBoxItemCollection
public TextBoxItemCollection(IDocument doc)
- Initializes a new instance of the TextBoxItemCollection class.
- Parameters:
doc
- the document
get
public TextBox get(int index)
- Gets the
ITextBox
at the specified index.
- Specified by:
get
in interface IDocumentObjectCollection
- Specified by:
get
in interface ITextBoxItemCollection
- Overrides:
get
in class DocumentObjectCollection
- Parameters:
index
- index
- Returns:
- TextBox object
add
public int add(ITextBox textBox)
- Adds a textbox to the collection.
- Specified by:
add
in interface ITextBoxItemCollection
- Parameters:
textBox
- textBox
- Returns:
- int