pCon.planner Plugin SDK  Version 8.9
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Properties Events
Public Member Functions | Properties | List of all members
X3g::Plugin::IO::PdfExport Class Reference

Allows to export pages to PDF. More...

Public Member Functions

 PdfExport ()
 Initializes a new instance of PecExport class. More...
 
void ExportPages (Stream^ pStream, IEnumerable< Layout::Page^ >^pPages)
 Exports the provided Pages into a PDF stream. More...
 

Properties

int CompressionQualityForJPEG [get, set]
 Quality Setting for JPEG compression. More...
 
bool CompressImages [get, set]
 Enables/Disables that images will be JPEG compressed. More...
 
int BitmapResolution [get, set]
 Set the DPI of images. More...
 

Detailed Description

Allows to export pages to PDF.

Constructor & Destructor Documentation

PdfExport::PdfExport ( )

Initializes a new instance of PecExport class.

Member Function Documentation

void PdfExport::ExportPages ( Stream^  pStream,
IEnumerable< Layout::Page^ >^  pPages 
)

Exports the provided Pages into a PDF stream.

Requires at least one page for the export.

Property Documentation

int X3g::Plugin::IO::PdfExport::BitmapResolution
getset

Set the DPI of images.

This value will be clamped between 72 and 5000. Both of these extreme values are not recommended. Reasonable values are closer to 96, 150, 320.

bool X3g::Plugin::IO::PdfExport::CompressImages
getset

Enables/Disables that images will be JPEG compressed.

int X3g::Plugin::IO::PdfExport::CompressionQualityForJPEG
getset

Quality Setting for JPEG compression.

Values can range from 0 to 100.

100 is the highest quality. 1 is the lowest quality. 0 is auto quality.