PdfSetCompressionLevel Method

See Also     Examples     Applies To

Changes the level of compression used to compress indexed image data within any pdf generated by this class.

Syntax

object.PdfSetCompressionLevel (nLevel)

The PdfSetCompressionLevel syntax has these parts:

Part Description
object Required. An object expression that evaluates to an object in the Applies To list.
nLevel Required. Long. Compression level [0 to 9]. 0 means no compression, 9 means best compression.

Remarks

This function has effect on 1bpp, 4bpp and 8bpp (non grayscale) image compression.

Category

PDF Functions





© Copyright 2008 GdPicture All rights reserved.
Documentation MAP.