TIFF, or tagged image file format, opens in the Windows Picture and Fax Viewer or any TIFF viewer. This export looks very much like the report as it displays in the viewer, but it is a multi-page image, so the text cannot be edited. The TIFF export filter has a couple of useful properties that allow you to control your output. You can set the properties either in code using the TIFFExport object after adding reference to the following assembly in your project, or by selecting the object in the toolbox and adding it to the component tray below the Form which automatically adds this assembly to the project:
- GrapeCity.ActiveReports.Export.Image.v8.dll
TIFF Export Properties
Property |
Valid Values |
Description |
CompressionScheme |
None, Rle, Ccitt3 (default), Ccitt4 or Lzw |
Select an enumerated value to use for color output control:
- None delivers color output with no compression.
- Rle (run-length encoding) is for 1, 4, and 8 bit color depths.
- Ccitt3 and Ccitt4 are for 1 color depth, and are used in old standard faxes.
- Lzw (based on Unisys patent) is for 1, 4, and 8 bit color depths with lossless compression.
|
Dither |
True or False (default) |
Set to True to dither the image when you save it to a black and white format (Ccitt3, Ccitt4 or Rle). This property has no effect if the CompressionScheme is set to Lzw or None. |
DpiX |
Integer (VB) or int (C#) greater than 0 |
Set the horizontal resolution of a report when exporting to TIFF format. The default value is 200.
Setting the DpiX or DpiY property to large values can cause the rendered image to be too large and not enough memory in system can be allocated to the bitmap.
|
DpiY |
Integer (VB) or int (C#) greater than 0 |
Set the vertical resolution of a report when exporting to TIFF format. The default value is 196.
Setting the DpiX or DpiY property to large values can cause the rendered image to be too large and not enough memory in system can be allocated to the bitmap.
|
Usage:
- Create optical archive reports
- Send reports via fax machines
- Open in image viewers
- Generates an image of each page. 100% WYSIWYG.
See Also