Code samples for CastColorRange (Automatically generated by the Every Method demo).
// Automated test of CastColorRange - Typical Values
// CastColorRange
ImageEnView1.Proc.CastColorRange( CreateRGB( 0, 0, 0 ), CreateRGB( 100, 100, 100 ), IEColorToRGB( clBlack ));

// Automated test of CastColorRange - Alpha Channel - Typical Values
// CastColorRange
ImageEnView1.Proc.CastColorRange( CreateRGB( 0, 0, 0 ), CreateRGB( 100, 100, 100 ), IEColorToRGB( clBlack ));

// Automated test of CastColorRange - 32-Bit RGBA - Typical Values
// CastColorRange
ImageEnView1.Proc.CastColorRange( CreateRGB( 0, 0, 0 ), CreateRGB( 100, 100, 100 ), IEColorToRGB( clBlack ));

// Automated test of CastColorRange (Tolerance) - Typical Values
// CastColorRange - Using Tolerance
ImageEnView1.Proc.CastColorRange( IEColorToRGB( clWhite ), IEColorToRGB( clRed ), 10 );

// Automated test of CastColorRange (Tolerance) - Alpha Channel - Typical Values
// CastColorRange - Using Tolerance
ImageEnView1.Proc.CastColorRange( IEColorToRGB( clWhite ), IEColorToRGB( clRed ), 10 );

// Automated test of CastColorRange (Tolerance) - 32-Bit RGBA - Typical Values
// CastColorRange - Using Tolerance
ImageEnView1.Proc.CastColorRange( IEColorToRGB( clWhite ), IEColorToRGB( clRed ), 10 );

// Automated test of CastColorRange (Tolerance) - 1-bit - Typical Values
// CastColorRange - Using Tolerance
ImageEnView1.Proc.CastColorRange( IEColorToRGB( clWhite ), IEColorToRGB( clRed ), 10 );

// Automated test of CastColorRange - Random Values
// CastColorRange
ImageEnView1.Proc.CastColorRange( CreateRGB( 150, 150, 150 ), CreateRGB( 255, 255, 255 ), IEColorToRGB( clWhite ));

// Automated test of CastColorRange - Alpha Channel - Random Values
// CastColorRange
ImageEnView1.Proc.CastColorRange( CreateRGB( 150, 150, 150 ), CreateRGB( 255, 255, 255 ), IEColorToRGB( clWhite ));

// Automated test of CastColorRange - 32-Bit RGBA - Random Values
// CastColorRange
ImageEnView1.Proc.CastColorRange( CreateRGB( 150, 150, 150 ), CreateRGB( 255, 255, 255 ), IEColorToRGB( clWhite ));

// Automated test of CastColorRange (Tolerance) - Random Values
// CastColorRange - Using Tolerance
ImageEnView1.Proc.CastColorRange( IEColorToRGB( clBlack ), IEColorToRGB( clAqua ), 137 );

// Automated test of CastColorRange (Tolerance) - Alpha Channel - Random Values
// CastColorRange - Using Tolerance
ImageEnView1.Proc.CastColorRange( IEColorToRGB( clBlack ), IEColorToRGB( clAqua ), 137 );

// Automated test of CastColorRange (Tolerance) - 32-Bit RGBA - Random Values
// CastColorRange - Using Tolerance
ImageEnView1.Proc.CastColorRange( IEColorToRGB( clBlack ), IEColorToRGB( clAqua ), 137 );

// Automated test of CastColorRange (Tolerance) - 1-bit - Random Values
// CastColorRange - Using Tolerance
ImageEnView1.Proc.CastColorRange( IEColorToRGB( clBlack ), IEColorToRGB( clAqua ), 137 );
