Passes property (IEpnRasterOptions)
long Passes; | |
Overview |
Remarks
Gets or sets the number of passes (scans through the image) when saving a JPEG or LEAD CMP file. (This value is not used when saving interlaced PNG files.)
Possible values when saving:
Value |
Meaning |
> 0 |
Save the file as a progressive file with the specified number of passes. |
0 |
Save the file as an ordinary JPEG or LEAD CMP file (not a progressive file). |
< 0 |
Save the file as a progressive file with the LEADTOOLS default number of passes. |
Possible values when saving non-progressive files:
Value |
Meaning |
0 |
Save the file with fixed Huffman tables (faster save, lower compression). |
<>0 |
Save the file with optimized Huffman tables (2-pass compression, lower speed, higher compression). |
Support for Basic functionality must be unlocked by calling the UnlockSupport method before using this method.
This property is used to configure the raster images properties.
To update the value of this property with the currently used setting, call the GetPrinterSaveOptions method.
To update the raster images properties, set this property and the other IEpnRasterOptions properties accessed by the RasterOptions property and call the SetPrinterSaveOptions method.
See Also