StatusCode property (ILEADOptimizeDirInfo)

Visual Basic example

Visual C++ example

 

Syntax

long StatusCode;

Overview

Refer to Image Optimization.

Remarks

(Read Only) Gets the current status.

If an error occurred during image optimization, this will be < OPTIMIZE_SUCCESS. Possible values are:

< OPTIMIZE_SUCCESS

An error occurred.

OPTIMIZE_SUCCESS

[1] Indicates that all selected and supported files in the directory(s) have been optimized successfully.

OPTIMIZE_DIR_PRE_OPTIMIZING_IMAGE

[2] Indicates that the image specified in the OriginalFileName property is about to be optimized. You can update the optimization options by updating the OptimizeOptions property.

OPTIMIZE_DIR_OPTIMIZING_IMAGE

[3] Indicates that the image specified in the OriginalFileName property is being optimized. Information on the percent of optimization that has been completed can be found in the FilePercent and TotalPercent properties.

See Also

Elements:

OriginalFileName property, OptimizedFileName property, FilePercent property, TotalPercent property, TotalFolderFilesCount property, OptimizeOptions property, DefaultOptions method, OptimizeBuffer method, OptimizeDir method

Topics:

Optimizer: Optimization Methods