# Perspective Drawing viewBox/element text

**URL:** <https://forum.inductiveautomation.com/t/perspective-drawing-viewbox-element-text/34520>\
**Category:** Ignition\
**Tags:** ignition80\
**Created:** [May 7, 2020, 12:39pm UTC](https://forum.inductiveautomation.com/t/perspective-drawing-viewbox-element-text/34520 "2020-05-07T12:39:16Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![luc.martin](https://avatars.discourse-cdn.com/v4/letter/l/77aa72/32.png) [@luc.martin](https://forum.inductiveautomation.com/u/luc.martin)\
**Post date:** [May 7, 2020, 12:39pm UTC](https://forum.inductiveautomation.com/t/perspective-drawing-viewbox-element-text/34520/1 "2020-05-07T12:39:16Z")

</div>

I search a way to add element type text in a viewBox, I know how path and shapes works but not a type text. Witch values and object it accept? Someone can help me with that?

---

<div class="post-metadata">

**Author:** ![Wesley\_Waters](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/wesley_waters/32/38300_2.png) [@Wesley\_Waters](https://forum.inductiveautomation.com/u/Wesley_Waters)\
**Post date:** [September 27, 2022, 7:47pm UTC](https://forum.inductiveautomation.com/t/perspective-drawing-viewbox-element-text/34520/2 "2022-09-27T19:47:47Z")

</div>

Did you ever get any information/help on this topic?

---

<div class="post-metadata">

**Author:** ![victordcq](https://avatars.discourse-cdn.com/v4/letter/v/f6c823/32.png) [@victordcq](https://forum.inductiveautomation.com/u/victordcq)\
**Post date:** [September 28, 2022, 9:25am UTC](https://forum.inductiveautomation.com/t/perspective-drawing-viewbox-element-text/34520/3 "2022-09-28T09:25:25Z")

</div>

there should be some examples on this topic

> [@How center text in an embedded SVG?](https://forum.inductiveautomation.com/t/how-center-text-in-an-embedded-svg/57562):
>
> (This is for a perspective in 8.1.15) So I am experimenting with with custom SVGs. I created a simple button face plate that looks like this: [Screen Shot 2022-03-23 at 3.19.11 PM] Each line of text is a separate text element. The contents of the SVG are: \<?xml version="1.0" encoding="UTF-8" standalone="no"?\> \<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"\> \<svg width="100%" height="100%" viewBox="0 0 284 511" version="1.1" xmlns="http://ww…

---

<div class="post-metadata">

**Author:** ![luc.martin](https://avatars.discourse-cdn.com/v4/letter/l/77aa72/32.png) [@luc.martin](https://forum.inductiveautomation.com/u/luc.martin)\
**Post date:** [September 29, 2022, 12:10pm UTC](https://forum.inductiveautomation.com/t/perspective-drawing-viewbox-element-text/34520/4 "2022-09-29T12:10:58Z")

</div>

viewBox is an SVG object  
You have to add element type text  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/2/c/2cb155cacd3141632303f22d611f849108f0fcf6.png)
