Overlay text on Image

0
How to add overlay text on Image at runtime. I have added images at runtime in Imageviewer.
asked
2 answers
2

Can you give us more descriptions about your current implementation?

answered
1

You can use css positioning as described in https://www.w3schools.com/css/tryit.asp?filename=trycss_position_absolute .

An element with position: absolute; is positioned relative to the nearest positioned ancestor

So you can use this to position image and text in context to each other. With the z-index you can make sure that the text will be shown above your image.

answered