` `

L’Oggetto Etichetta

To add a label, click the label Add label icon, place the element with the left mouse button on the Print Composer canvas and position and customize its appearance in the label Item Properties panel.

The Item Properties panel of a label item provides the following functionality for the label item (see Figure_composer_label):

../../../../_images/label_mainproperties.png

Pannello Proprietà Oggetto Etichetta

Proprietà principali

  • The main properties dialog is where the text (HTML or not) or the expression needed to fill the label is added to the Composer canvas.
  • Le etichette possono essere interpretate come codice HTML: spunta la casella di controllo checkbox Visualizza come HTML. Ora puoi inserire un URL, un’immagine collegata a un sito web oppure qualcosa di più complesso.

  • You can also insert an expression. Click on [Insert an expression] to open a new dialog. Build an expression by clicking the functions available in the left side of the panel. Two special categories can be useful, particularly associated with the atlas functionality: geometry and records functions. At the bottom, a preview of the expression is shown.

Apetto

  • Define Font by clicking on the [Font...] button or a Font color selecting a color using the color selection tool.
  • You can specify different horizontal and vertical margins in mm. This is the margin from the edge of the composer item. The label can be positioned outside the bounds of the label e.g. to align label items with other items. In this case you have to use negative values for the margin.
  • Using the Alignment is another way to position your label. Note that when e.g. using the Horizontal alignment in radioButtonOn Center Position the Horizontal margin feature is disabled.