aspose.cells

Class TextBoxCollection

Encapsulates a collection of TextBox objects.

Property Getters/Setters Summary
functiongetCount()
functionget(index)
Gets the TextBox element at the specified index.
functionget(name)
Gets the TextBox element by the name.
 
Method Summary
functionadd(upperLeftRow, upperLeftColumn, height, width)
Adds a textbox to the collection.
functionadd(value)
Reserved for internal use.
functionclear()
Clear all text boxes.
functioncontains(value)
Reserved for internal use.
functionget(index)
Reserved for internal use.
functionindexOf(value)
Reserved for internal use.
functioniterator()
functionremoveAt(index)
Remove a text box from the file.
 

    • Property Getters/Setters Detail

      • getCount : Number 

        function getCount()
        
      • get : TextBox 

        function get(index)
        
        Gets the TextBox element at the specified index.
        Parameters:
        index - The zero based index of the element.
        Returns:
        The element at the specified index.
      • get : TextBox 

        function get(name)
        
        Gets the TextBox element by the name.
        Parameters:
        name - The name of the text box.
        Returns:
    • Method Detail

      • add

        function add(upperLeftRow, upperLeftColumn, height, width)
        Adds a textbox to the collection.
        Parameters:
        upperLeftRow: Number - Upper left row index.
        upperLeftColumn: Number - Upper left column index.
        height: Number - Height of textbox, in unit of pixel.
        width: Number - Width of textbox, in unit of pixel.
        Returns:
        TextBox object index.
      • removeAt

        function removeAt(index)
        Remove a text box from the file.
        Parameters:
        index: Number - The text box index.
      • clear

        function clear()
        Clear all text boxes.
      • iterator

        function iterator()
      • get

        function get(index)
        Reserved for internal use.
      • contains

        function contains(value)
        Reserved for internal use.
      • add

        function add(value)
        Reserved for internal use.
      • indexOf

        function indexOf(value)
        Reserved for internal use.