tiffCompression

Set TIFF compression mode.
[read/write property] tiffCompression([out, retval] int *comp) tiffCompression([in] int comp)
This function sets the compression mode used in TIFF output. The available modes are: This parameter is only relevant when writePageBitmap or writeRegionBitmap is called with imageFileTIFF.

Note that the compression modes are read-only properties on the COM component, so you'll need to use pdf.tiffUncompressed, pdf.tiffLZW, etc.

The resetParams function resets TIFF compression to the default value of tiffUncompressed.

VB:
pdf.tiffCompression = pdf.tiffPackBits
resetParams
writePageBitmap
writeRegionBitmap