Code samples for Select.
Automatically generated by the Every Method demo.
// Automated test of Select (Rect) - Typical Values
// Add a rectangular selection and colorize (Sepia)
ImageEnView1.SelectionBase := iesbBitmap;
ImageEnView1.Select( 80, 80, ImageEnView1.IEBitmap.Width - 80, ImageEnView1.IEBitmap.Height - 80 );
ImageEnView1.Proc.Colorize( 34, 50, 1.10 );

// Automated test of Select (Rect) - Alpha Channel - Typical Values
// Add a rectangular selection and colorize (Sepia)
ImageEnView1.SelectionBase := iesbBitmap;
ImageEnView1.Select( 80, 80, ImageEnView1.IEBitmap.Width - 80, ImageEnView1.IEBitmap.Height - 80 );
ImageEnView1.Proc.Colorize( 34, 50, 1.10 );

// Automated test of Select (Rect) - 32-Bit RGBA - Typical Values
// Add a rectangular selection and colorize (Sepia)
ImageEnView1.SelectionBase := iesbBitmap;
ImageEnView1.Select( 80, 80, ImageEnView1.IEBitmap.Width - 80, ImageEnView1.IEBitmap.Height - 80 );
ImageEnView1.Proc.Colorize( 34, 50, 1.10 );

// Automated test of Select (Rect) - 1-bit - Typical Values
// Add a rectangular selection and clear
ImageEnView1.SelectionBase := iesbBitmap;
ImageEnView1.Select( 80, 80, ImageEnView1.IEBitmap.Width - 80, ImageEnView1.IEBitmap.Height - 80 );
ImageEnView1.Proc.ClearSel( True );

// Automated test of Select (Rect) - Random Values
// Add a rectangular selection and discard red and green channels
ImageEnView1.SelectionBase := iesbBitmap;
ImageEnView1.SelectRoundRect( 80, 80, ImageEnView1.IEBitmap.Width - 80, ImageEnView1.IEBitmap.Height - 80, 25, 25 );
ImageEnView1.InvertSelection( True );
ImageEnView1.MakeSelectionFeather( 15 );
ImageEnView1.Proc.Proc.DisposeChannels( 'B00' );

// Automated test of Select (Rect) - Alpha Channel - Random Values
// Add a rectangular selection and discard red and green channels
ImageEnView1.SelectionBase := iesbBitmap;
ImageEnView1.SelectRoundRect( 80, 80, ImageEnView1.IEBitmap.Width - 80, ImageEnView1.IEBitmap.Height - 80, 25, 25 );
ImageEnView1.InvertSelection( True );
ImageEnView1.MakeSelectionFeather( 15 );
ImageEnView1.Proc.Proc.DisposeChannels( 'B00' );

// Automated test of Select (Rect) - 32-Bit RGBA - Random Values
// Add a rectangular selection and discard red and green channels
ImageEnView1.SelectionBase := iesbBitmap;
ImageEnView1.SelectRoundRect( 80, 80, ImageEnView1.IEBitmap.Width - 80, ImageEnView1.IEBitmap.Height - 80, 25, 25 );
ImageEnView1.InvertSelection( True );
ImageEnView1.MakeSelectionFeather( 15 );
ImageEnView1.Proc.Proc.DisposeChannels( 'B00' );

// Automated test of Select (Rect) - 1-bit - Random Values
// Add a rectangular selection and clear
ImageEnView1.SelectionBase := iesbBitmap;
ImageEnView1.SelectRoundRect( 80, 80, ImageEnView1.IEBitmap.Width - 80, ImageEnView1.IEBitmap.Height - 80, 25, 25 );
ImageEnView1.InvertSelection( True );
ImageEnView1.MakeSelectionFeather( 15 );
ImageEnView1.Proc.ClearSel( True );
