Configure the image output.
Syntax
fgl_report_configureImageDevice (
antialiasFonts BOOLEAN,
antialiasShapes BOOLEAN,
monochrome BOOLEAN,
fromPage INTEGER,
toPage INTEGER,
fileType STRING,
filePath STRING,
fileNamePrefix STRING,
resolution INTEGER)
- antialiasFonts - Configures whether fonts should
be rendered using antialiasing. The default value is true.
- antialiasShapes - Configures whether shapes
should be rendered using antialiasing. The default value is true.
- monochrome - Configures whether color values
should be converted to monochrome output. The default value is true.
- fromPage - Selects the lower bound of the
range of pages to create images for. The default value is 1.
- toPage - Selects the upper bound of the range
of pages to create images for. By default, images are created for
all pages.
- fileType - One of jpg|png|bmp|gif
- filePath - Path of the target directory where
the images are created
- fileNamePrefix - Name prefix of the generated
files (e.g. setting namePrefix to "Chart" will cause the creation
of files called "Chart0001", "Chart0002", and so on.
- resolution - Controls the resolution used for
creating the images. If the image is later viewed unscaled on a device
with the specified resolution, all items will have their correct metric
length. Beware that high values may require enormous amounts of memory
and the resulting files may become very large. The formula for calculating
the memory consumption in bytes is resolution_in_dpi_x * page_width_in_inches
* resolution_in_dpi_y * page_height_in_inches * 3byte for a color
image. For a page of format "letter" at 96 DPI we therefore get 96DPI*8.5"*96DPI*11"*3byte=2.6
MB. At 300 DPI this is 25 MB (color) and 8 MB (grayscale). The renderer
currently requires the entire page to be in memory.
Usage
This function is applicable when
image output has been selected by a call to the function fgl_report_selectDevice.
All
arguments to this function are optional (indicated by passing a null
value).
See Usage