class
FormatTxtCollection
Source: aspose.
FormatTxt collection which contains the text of a shape.
Methods
add() → Number
Add the FormatTxt object in the collection.
- Returns
-
Number
clear()
Removes all elements from collection.
get(index) → FormatTxt
Gets the element at the specified index.
Parameter
Name | Type | Optional | Description |
---|---|---|---|
index |
Number |
|
- Returns
getCount()
Gets the number of elements actually contained in the collection.
getText()
Contains the text of a shape with formating.
isExist(index) → boolean
Is exist item in the collection.
Parameter
Name | Type | Optional | Description |
---|---|---|---|
index |
Number |
|
index of element. |
- Returns
-
boolean
iterator() → Iterator
Supports a simple iteration over a nongeneric collection.
- Returns
-
Iterator
remove()
Remove the FormatTxt object from the collection.
setWholeText(text)
Set the text of a shape without formating.
Parameter
Name | Type | Optional | Description |
---|---|---|---|
text |
String |
|