All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.aspose.cells.TextBoxCollection.html Maven / Gradle / Ivy

There is a newer version: 23.1
Show newest version





TextBoxCollection




com.aspose.cells
Class TextBoxCollection

java.lang.Object
  extended by CollectionBase
      extended by com.aspose.cells.TextBoxCollection
All Implemented Interfaces:
java.lang.Iterable

public class TextBoxCollection 
extends CollectionBase

Encapsulates a collection of TextBox objects.


Property Getters/Setters Summary
intgetCount()→ inherited from com.aspose.cells.CollectionBase
          
TextBoxget(int)
           Gets the TextBox element at the specified index.
TextBoxget(java.lang.String)
           Gets the TextBox element by the name.
 
Method Summary
intadd(int upperLeftRow, int upperLeftColumn, int height, int width)
           Adds a textbox to the collection.
intadd(java.lang.Object value)→ inherited from com.aspose.cells.CollectionBase
          Reserved for internal use.
voidclear()
           Clear all text boxes.
booleancontains(java.lang.Object value)→ inherited from com.aspose.cells.CollectionBase
          Reserved for internal use.
intindexOf(java.lang.Object value)→ inherited from com.aspose.cells.CollectionBase
          Reserved for internal use.
java.util.Iteratoriterator()→ inherited from com.aspose.cells.CollectionBase
          
voidremoveAt(int index)
           Remove a text box from the file.
 

Property Getters/Setters Detail

getCount

→ inherited from com.aspose.cells.CollectionBase
public int getCount()

get

public TextBox get(int 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

public TextBox get(java.lang.String name)
Gets the TextBox element by the name.
Parameters:
name - The name of the text box.
Returns:

Method Detail

add

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

removeAt

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

clear

public void clear()
Clear all text boxes.

iterator

→ inherited from com.aspose.cells.CollectionBase
public java.util.Iterator iterator()

contains

→ inherited from com.aspose.cells.CollectionBase
public boolean contains(java.lang.Object value)
Reserved for internal use.

add

→ inherited from com.aspose.cells.CollectionBase
public int add(java.lang.Object value)
Reserved for internal use.

indexOf

→ inherited from com.aspose.cells.CollectionBase
public int indexOf(java.lang.Object value)
Reserved for internal use.

See Also:
          Aspose.Cells Documentation - the home page for the Aspose.Cells Product Documentation.
          Aspose.Cells Support Forum - our preferred method of support.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy