Code samples for ApplyBitmapToSelection.
Automatically generated by the Every Method demo.
// Automated test of ApplyBitmapToSelection - Typical Values
// Copy a bitmap (gray-scale version of current bitmap) to the current selection
ImageEnView1.SelectionBase := iesbBitmap;
ImageEnView1.SelectShape( 100, 100, ImageEnView1.IEBitmap.Width - 100, ImageEnView1.IEBitmap.Height - 100, iesSplat );
ImageEnView1.ApplyBitmapToSelection( myBMP, True, false, True );

// Automated test of ApplyBitmapToSelection - Alpha Channel - Typical Values
// Copy a bitmap (gray-scale version of current bitmap) to the current selection
ImageEnView1.SelectionBase := iesbBitmap;
ImageEnView1.SelectShape( 100, 100, ImageEnView1.IEBitmap.Width - 100, ImageEnView1.IEBitmap.Height - 100, iesSplat );
ImageEnView1.ApplyBitmapToSelection( myBMP, True, false, True );

// Automated test of ApplyBitmapToSelection - 32-Bit RGBA - Typical Values
// Copy a bitmap (gray-scale version of current bitmap) to the current selection
ImageEnView1.SelectionBase := iesbBitmap;
ImageEnView1.SelectShape( 100, 100, ImageEnView1.IEBitmap.Width - 100, ImageEnView1.IEBitmap.Height - 100, iesSplat );
ImageEnView1.ApplyBitmapToSelection( myBMP, True, false, True );

// Automated test of ApplyBitmapToSelection - 1-bit - Typical Values
// Copy a bitmap (gray-scale version of current bitmap) to the current selection
ImageEnView1.SelectionBase := iesbBitmap;
ImageEnView1.SelectShape( 100, 100, ImageEnView1.IEBitmap.Width - 100, ImageEnView1.IEBitmap.Height - 100, iesSplat );
ImageEnView1.ApplyBitmapToSelection( myBMP, True, false, True );

// Automated test of ApplyBitmapToSelection - Random Values
// Copy a bitmap (gray-scale version of current bitmap) to the current selection
ImageEnView1.SelectionBase := iesbBitmap;
ImageEnView1.SelectShape( 20, 20, ImageEnView1.IEBitmap.Width - 20, ImageEnView1.IEBitmap.Height - 20, iesDinosaur );
ImageEnView1.ApplyBitmapToSelection( myBMP, True, true, True );

// Automated test of ApplyBitmapToSelection - Alpha Channel - Random Values
// Copy a bitmap (gray-scale version of current bitmap) to the current selection
ImageEnView1.SelectionBase := iesbBitmap;
ImageEnView1.SelectShape( 20, 20, ImageEnView1.IEBitmap.Width - 20, ImageEnView1.IEBitmap.Height - 20, iesDinosaur );
ImageEnView1.ApplyBitmapToSelection( myBMP, True, true, True );

// Automated test of ApplyBitmapToSelection - 32-Bit RGBA - Random Values
// Copy a bitmap (gray-scale version of current bitmap) to the current selection
ImageEnView1.SelectionBase := iesbBitmap;
ImageEnView1.SelectShape( 20, 20, ImageEnView1.IEBitmap.Width - 20, ImageEnView1.IEBitmap.Height - 20, iesDinosaur );
ImageEnView1.ApplyBitmapToSelection( myBMP, True, true, True );

// Automated test of ApplyBitmapToSelection - 1-bit - Random Values
// Copy a bitmap (gray-scale version of current bitmap) to the current selection
ImageEnView1.SelectionBase := iesbBitmap;
ImageEnView1.SelectShape( 20, 20, ImageEnView1.IEBitmap.Width - 20, ImageEnView1.IEBitmap.Height - 20, iesDinosaur );
ImageEnView1.ApplyBitmapToSelection( myBMP, True, true, True );
