asposecells.api

Class TextBoxCollection

Encapsulates a collection of TextBox objects.

Property Getters/Setters Summary
methodgetCount()
methodget(index)
Gets the TextBox element at the specified index.
methodget(name)
Gets the TextBox element by the name.
 
Method Summary
methodadd(upperLeftRow, upperLeftColumn, height, width)
Adds a textbox to the collection.
methodadd(value)
Reserved for internal use.
methodclear()
Clear all text boxes.
methodcontains(value)
Reserved for internal use.
methodget(index)
Reserved for internal use.
methodindexOf(value)
Reserved for internal use.
methoditerator()
methodremoveAt(index)
Remove a text box from the file.
 

    • Property Getters/Setters Detail

      • getCount : int 

        int getCount()
        
      • get : TextBox 

        TextBox 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 

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

      • add

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

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

         clear()
        Clear all text boxes.
      • iterator

        Iterator iterator()
      • get

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

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

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

        int indexOf(value)
        Reserved for internal use.