fgl_report_setSVGCompression

Configure SVG compression.

Syntax

fgl_report_setSVGCompression(
   compressOutput BOOLEAN) 
  1. compressOutput - Boolean specifying whether the output should be compressed. The default value is false.

Usage

Function to configure SVG compression.

This function is applicable when SVG output has been selected by a call to the function fgl_report_selectDevice. When set, the function causes SVG to be written in compressed form, causing files and streams to be shrunk to about a tenth of their original size. This can benefit the overall performance on slow networks.

The Genero Report Viewer automatically detects if files or streams are compressed and decompresses them on the fly as necessary.

See Usage.