SavePasses Property (ILEADRasterDlgFile)

Visual Basic example

Visual C++ example

 

Syntax

short SavePasses;

Overview

Refer to Using Imaging Common Dialogs

Remarks

Gets or sets the number of passes (scans through the image) to save when saving progressive JPEG, LEAD CMP or PNG files. (This value is also used when loading, but not when saving, interlaced PNG files.). This value is obtained from or set in the Save dialog box.

Possible values when saving (whether progressive or not):

Value

Meaning

Any positive number

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).

Any negative number

Save the file as a progressive file with the LEADTOOLS default number of passes.

See Also

Elements

ShowSaveDlg method