QGIS API Documentation  3.0.2-Girona (307d082)
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 ()
 Constructor for PrintExportSettings. More...
 

Public Attributes

double dpi = -1
 Resolution to export layout at. If dpi <= 0 the default layout dpi will be used. More...
 
QgsLayoutRenderContext::Flags flags = 0
 Layout context flags, which control how the export will be created. More...
 
bool rasterizeWholeImage = false
 Set to true to force whole layout to be rasterized while exporting. More...
 

Detailed Description

Contains settings relating to printing layouts.

Definition at line 304 of file qgslayoutexporter.h.

Constructor & Destructor Documentation

◆ PrintExportSettings()

QgsLayoutExporter::PrintExportSettings::PrintExportSettings ( )
inline

Constructor for PrintExportSettings.

Definition at line 307 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 312 of file qgslayoutexporter.h.

◆ flags

QgsLayoutRenderContext::Flags QgsLayoutExporter::PrintExportSettings::flags = 0

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

Definition at line 324 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 319 of file qgslayoutexporter.h.


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