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:
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:
|
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: