SavePasses property (LEADDlgFile Control)

C++ Builder example

Delphi 4.0 example

 

Builder Syntax

L_UINT SavePasses

Delphi Syntax

SavePasses: L_UINT

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, Filter property, FilterIndex property, FileName property, FileTitle property, DialogTitle property, DlgFileFlags property, InitialDir property, MaxFileSize property, MaxFileTitleSize property, PageNumber property, SaveBitsPerPixel property, SaveFormat property, SaveQFactor property, SaveMulti property, SaveInterlaced property, SaveWithStamp property, SaveStampBits property, SaveStampWidth property, SaveStampHeight property, SaveFileTypeIndex property, SaveSubTypeIndex property, SaveJ2KUseColorTransform property, SaveJ2KDerivedQuantization property, SaveJ2KCompressionControl property, SaveJ2KCompressionRatio property, SaveJ2KTargetFileSize property, SaveJ2KXOsiz property, SaveJ2KYOsiz property, SaveJ2KXTsiz property, SaveJ2KYTsiz property, SaveJ2KXTOsiz property, SaveJ2KYTOsiz property, SaveJ2KDecompLevel property, SaveJ2KProgressOrder property, SaveJ2KCodBlockWidth property, SaveJ2KCodBlockHeight property, SaveJ2KCBS_SelectiveACBypass property, SaveJ2KCBS_ResetContextOnBoundaries property, SaveJ2KCBS_TerminationOnEachPass property, SaveJ2KCBS_VerticallyCausalContext property, SaveJ2KCBS_PredictableTermination property, SaveJ2KCBS_ErrorResilienceSymbol property, SaveJ2KGuardBits property, SaveJ2KDerivedBaseMantissa property, SaveJ2KDerivedBaseExponent property, SaveJ2KUseSOPMarker property, SaveJ2KUseEPHMarker property

Topics:

Imaging Common Dialogs: Properties, Methods, and Events