Overview of the Print Layout

The print layout provides growing layout and printing capabilities. It allows you to add elements such as the QGIS map canvas, text labels, images, legends, scale bars, basic shapes, arrows, attribute tables and HTML frames. You can size, group, align, position and rotate each element and adjust their properties to create your layout. The layout can be printed or exported to image formats, PostScript, PDF or to SVG (export to SVG is not working properly with some recent Qt4 versions; you should try and check individually on your system). You can save the layout as a template and load it again in another session. Finally, generating several maps based on a template can be done through the atlas generator.

Exemple d’utilisation

Before you start to work with the print layout, you need to load some raster or vector layers in the QGIS map canvas and adapt their properties to suit your own convenience. After everything is rendered and symbolized to your liking, click the newLayout New Print Layout icon in the toolbar or choose File ‣ New Print Layout. You will be prompted to choose a title for the new layout.

Pour créer une carte, veuillez suivre les instructions suivantes.

  1. Sur le côté gauche, sélectionnez le bouton de barre d’outils addMap Ajouter une nouvelle carte et dessinez un rectangle. A l’intérieur du rectangle dessiné, la carte de la vue QGIS est affichée .

  2. Select the scaleBar Add new scalebar toolbar button and click with the left mouse button on the print layout canvas. A scalebar will be added to the canvas.

  3. Sélectionnez le bouton de la barre d’outils addLegend Ajouter une nouvelle légende et dessinez un rectangle dans le canevas en maintenant enfoncé le bouton gauche de la souris. À l’intérieur du rectangle dessiné, la légende sera affichée.

  4. Sélectionnez l’icône select Sélectionner/Déplacer un objet pour sélectionner la carte sur le canevas et déplacez-le un peu.

  5. Tant que l’élément de carte est encore sélectionné, vous pouvez également modifier la taille de l’élément de carte. Cliquez tout en maintenant le bouton gauche de la souris enfoncé, dans un petit rectangle blanc dans l’un des coins de l’élément de la carte et faites-le glisser vers un nouvel emplacement pour modifier sa taille.

  6. Cliquez sur le panneau Propriétés d’élément en bas à gauche et trouvez le réglage pour l’orientation. Changez la valeur du paramètre Orientation de la carte en “15.00°”. Vous devriez voir l’orientation de la carte changer.

  7. Now, you can print or export your print layout to image formats, PDF or to SVG with the export tools in Layout menu.

  8. Finally, you can save your print layout within the project file with the fileSave Save Project button.

You can add multiple elements to the print layout. It is also possible to have more than one map view or legend or scale bar in the print layout canvas, on one or several pages. Each element has its own properties and, in the case of the map, its own extent. If you want to remove any elements from the layout canvas you can do that with the Delete or the Backspace key.

The Layout Manager

The Layout Manager is the main window to manage print layouts in the project. It gives you an overview of existing print layouts and reports in the project and offers tools to:

  • add new print layout or new report from scratch, template or duplicating an existing one;

  • rename or delete any of them;

  • open them in the project.

To open the layout manager dialog:

  • from the main QGIS dialog, select Project ‣ Layout Manager… menu or click on the layoutManager Layout Manager button in the Project Toolbar;

  • from a print layout or report dialog, select Layout ‣ Layout Manager… menu or click on the layoutManager Layout Manager button in the Layout Toolbar.


The Print Layout Manager

The layout manager lists in its upper part all the available print layouts or reports in the project with tools to:

  • show the selection: you can select multiple reports and/or print layout(s) and open them in one-click. Double-click a name also opens it;

  • duplicate the selected print layout or report (available only if one item is selected): it creates a new dialog using the selected one as template. You’ll be prompted to choose a new title for the new layout;

  • rename the report or layout (available only if one item is selected): you’ll be prompted to choose a new title for the layout;

  • remove the layout: the selected print layout(s) will be deleted from the project.

In the lower part, it’s possible to create new print layouts or reports from scratch or a template. By default, QGIS will look for templates in the user profile and the application template directories (accessible with the two buttons at the bottom of the frame) but also in any folder declared as Path(s) to search for extra print templates in Settings ‣ Options ‣ Layouts. Found templates are listed in the combobox. Select an item and press the Create button to generate a new report or print layout.

You can also use layout templates from a custom folder; in that case, select specific in the templates drop-down list, browse to the template and press Create.


Creating template-based print layouts from Browser panel

Drag-and-drop a print layout template .qpt file from any file browser onto the map canvas or double-click it in the Browser panel generates a new print layout from the template.