OnOptimize Event (ILEADRasterImgOpt)

Visual Basic example

Visual C++ example

 

Syntax

void OnOptimize (short nPercent);

Overview

Refer to Image Optimization.

Remarks

This event is fired repeatedly by the OptimizeBuffer method, to notify the user of the percentage of the optimization operation that has been completed. The event is fired for every 1% of the optimization that has been completed.

See Also

Elements:

JPEGQFactor property, PNGQFactor property, JPEGColorSpace property, Percent property, Distance property, PickSamePalette property, OptimizeBuffer method. OnOptimizeDir event, OptimizingError property.

Topics:

Optimizer: Optimization Methods