
## FormatTxtCollection class

FormatTxt collection which contains the text of a shape.



**Inheritance:** [FormatTxtCollection](/diagram/python-net/aspose.diagram/formattxtcollection) → 
[Collection](/diagram/python-net/aspose.diagram/collection)



The FormatTxtCollection type exposes the following members:

### Properties
| Property | Description |
| :- | :- |
| [count](/diagram/python-net/aspose.diagram/formattxtcollection/count) | Gets the number of elements actually contained in the collection. |
| [text](/diagram/python-net/aspose.diagram/formattxtcollection/text) | Contains the text of a shape with formating. |



Gets the element at the specified index.
### Indexer
| Name | Description |
| :- | :- |
| [index] |  |


### Methods
| Method | Description |
| :- | :- |
| [is_exist(index)](/diagram/python-net/aspose.diagram/formattxtcollection/is_exist/#int) | Is exist item in the collection. |
| [clear()](/diagram/python-net/aspose.diagram/formattxtcollection/clear/#) | Removes all elements from collection. |
| [add(item)](/diagram/python-net/aspose.diagram/formattxtcollection/add/#FormatTxt) | Add the FormatTxt object in the collection. |
| [remove(item)](/diagram/python-net/aspose.diagram/formattxtcollection/remove/#FormatTxt) | Remove the FormatTxt object from the collection. |
| [set_whole_text(text)](/diagram/python-net/aspose.diagram/formattxtcollection/set_whole_text/#str) | Set the text of a shape without formating. |


### See Also

* module [aspose.diagram](../)
* class [Collection](/diagram/python-net/aspose.diagram/collection)
