# Corner Annotations multiple texts

**URL:** <https://discourse.slicer.org/t/corner-annotations-multiple-texts/18434>\
**Category:** Support\
**Created:** [June 30, 2021, 3:01pm UTC](https://discourse.slicer.org/t/corner-annotations-multiple-texts/18434 "2021-06-30T15:01:51Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![seanchoi0519](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/seanchoi0519/32/10354_2.png) [@seanchoi0519](https://discourse.slicer.org/u/seanchoi0519)\
**Post date:** [June 30, 2021, 3:01pm UTC](https://discourse.slicer.org/t/corner-annotations-multiple-texts/18434/1 "2021-06-30T15:01:52Z")

</div>

Would there be any way for me to add 2 texts in the lower middle of the view? I know that the code for adding a line of text is:

```
self.view = slicer.app.layoutManager().threeDWidget(0).threeDView()
self.view.cornerAnnotation().SetText(vtk.vtkCornerAnnotation.LowerEdge,'Text')
#I'd like to create another textbox at the exact same location
self.view.cornerAnnotation().GetTextProperty().SetColor(255,255,255)
self.view.forceRender()

```

I’m asking as I’d like to assign an animation that fades in 1 text while fading out another text.

Thanks in advance

---

<div class="post-metadata">

**Author:** ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Post date:** [July 2, 2021, 3:47am UTC](https://discourse.slicer.org/t/corner-annotations-multiple-texts/18434/2 "2021-07-02T03:47:03Z")

</div>

You can fade out the old text and _then_ fade in the new text (using `view.cornerAnnotation().GetTextProperty().SetOpacity(...)`).

---

<div class="post-metadata">

**Author:** ![seanchoi0519](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/seanchoi0519/32/10354_2.png) [@seanchoi0519](https://discourse.slicer.org/u/seanchoi0519)\
**Post date:** [July 2, 2021, 7:56am UTC](https://discourse.slicer.org/t/corner-annotations-multiple-texts/18434/3 "2021-07-02T07:56:36Z")

</div>

Resolved. Thank you!
