QGIS API Documentation
3.0.2-Girona (307d082)
|
Contains settings relating to exporting layouts to PDF. More...
#include <qgslayoutexporter.h>
Public Member Functions | |
PdfExportSettings () | |
Constructor for PdfExportSettings. 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 | forceVectorOutput = false |
Set to true to force vector object exports, even when the resultant appearance will differ from the layout. More... | |
bool | rasterizeWholeImage = false |
Set to true to force whole layout to be rasterized while exporting. More... | |
Contains settings relating to exporting layouts to PDF.
Definition at line 230 of file qgslayoutexporter.h.
|
inline |
Constructor for PdfExportSettings.
Definition at line 233 of file qgslayoutexporter.h.
double QgsLayoutExporter::PdfExportSettings::dpi = -1 |
Resolution to export layout at. If dpi <= 0 the default layout dpi will be used.
Definition at line 238 of file qgslayoutexporter.h.
QgsLayoutRenderContext::Flags QgsLayoutExporter::PdfExportSettings::flags = 0 |
Layout context flags, which control how the export will be created.
Definition at line 259 of file qgslayoutexporter.h.
bool QgsLayoutExporter::PdfExportSettings::forceVectorOutput = false |
Set to true to force vector object exports, even when the resultant appearance will differ from the layout.
If false, some items may be rasterized in order to maintain their correct appearance in the output.
This option is mutually exclusive with rasterizeWholeImage.
Definition at line 254 of file qgslayoutexporter.h.
bool QgsLayoutExporter::PdfExportSettings::rasterizeWholeImage = false |
Set to true to force whole layout to be rasterized while exporting.
This option is mutually exclusive with forceVectorOutput.
Definition at line 245 of file qgslayoutexporter.h.