From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

Reduce pdf quality

Solved!
Go to solution

Hallo,

 

I am exporting to .pdf a report with 30 sheets, in each sheet I have 6 graphs among which at least 2 waterfall maps (order analysis color maps).

The  generated report is very big and the export time is high, is there a way to reduce significantly the quality of exported diagrams?

Up to now I tried with the option REPORTPrintAsGraphic = 1 but I still have significant export time and size...

 

Thank you,

Mattia

0 Kudos
Message 1 of 2
(2,011 Views)
Solution
Accepted by topic author mattia_verona

Hello Marria,

 

There are several parameters that can be tweaked to change the PDF file size, try these for a start:

 

PDFResolution = "300 dpi" ' or "72 dpi", "150 DPI", "300 DPI", "600 DPI", "1200 DPI", "2400 DPI"

PDFJPGCompressed = "low" ' or "No" , "medium" , "high"

PDFOptimization = 1 ' or 0

PDFJPGCompressed = "No" ' or "low", "medium", "high"

 

You can look up the exact descriptions for each parameter in the DIAdem help system.

 

I hope this helps, ask if you have further questions.

 

Otmar D. Foehner
Message 2 of 2
(1,955 Views)