QGIS API Documentation 3.39.0-Master (d85f3c2a281)
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
QgsLayoutExporter::PrintExportSettings Struct Reference

Contains settings relating to printing layouts. More...

#include <qgslayoutexporter.h>

Public Member Functions

 PrintExportSettings ()
 

Public Attributes

double dpi = -1
 Resolution to export layout at. If dpi <= 0 the default layout dpi will be used.
 
QgsLayoutRenderContext::Flags flags = QgsLayoutRenderContext::Flags()
 Layout context flags, which control how the export will be created.
 
QVector< qreal > predefinedMapScales
 A list of predefined scales to use with the layout.
 
bool rasterizeWholeImage = false
 Set to true to force whole layout to be rasterized while exporting.
 

Detailed Description

Contains settings relating to printing layouts.

Definition at line 441 of file qgslayoutexporter.h.

Constructor & Destructor Documentation

◆ PrintExportSettings()

QgsLayoutExporter::PrintExportSettings::PrintExportSettings ( )
inline

Definition at line 443 of file qgslayoutexporter.h.

Member Data Documentation

◆ dpi

double QgsLayoutExporter::PrintExportSettings::dpi = -1

Resolution to export layout at. If dpi <= 0 the default layout dpi will be used.

Definition at line 448 of file qgslayoutexporter.h.

◆ flags

QgsLayoutRenderContext::Flags QgsLayoutExporter::PrintExportSettings::flags = QgsLayoutRenderContext::Flags()

Layout context flags, which control how the export will be created.

Definition at line 460 of file qgslayoutexporter.h.

◆ predefinedMapScales

QVector<qreal> QgsLayoutExporter::PrintExportSettings::predefinedMapScales

A list of predefined scales to use with the layout.

This is used for maps which are set to the predefined atlas scaling mode.

Since
QGIS 3.10

Definition at line 467 of file qgslayoutexporter.h.

◆ rasterizeWholeImage

bool QgsLayoutExporter::PrintExportSettings::rasterizeWholeImage = false

Set to true to force whole layout to be rasterized while exporting.

This option is mutually exclusive with forceVectorOutput.

Definition at line 455 of file qgslayoutexporter.h.


The documentation for this struct was generated from the following file: