QGIS – Inputting Content Inside Object in Print Layout

layoutsprint-composerprintingqgis

I have a multitude of rectangles drawn in my map composer.
I have also separate text boxes for them.

enter image description here

I am wondering about the possibility of including the text content for drawn rectangles or other shapes. Is it possible?

Best Answer

You mean to insert text inside a shape, as in Office Word. It is not possible to include a text content for layout shapes because they don't have any property for text.

Eventually you will need to use auxiliary items (separate textbox) or you can add a font symbol layer for the shape as follows:

  • Click "Style" box.

    enter image description here

  • Add a new symbol layer. Select "Centroid Fill".

    enter image description here

  • Change "Simple Marker" to "Font Marker".

    enter image description here

  • Set "Size" and "Characters"

    enter image description here

enter image description here

Related Question